Parent: c81f9320357b0808dd4debebc687d26dc0be30ab
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-05-10 18:29:09
Tree: 45d184ad0b9073d5139783fcd200baa7c823a490
sdp: Fix use of uninitialised memory Error: UNINIT (CWE-457): [#def10] [important] lib/sdp.c:2302:2: alloc_fn: Calling "malloc" which returns uninitialized memory. lib/sdp.c:2302:2: assign: Assigning: "seqDTDs" = "malloc(seqlen * 8UL)", which points to uninitialized data. lib/sdp.c:2355:2: uninit_use_in_call: Using uninitialized value "*seqDTDs" when calling "sdp_seq_alloc". 2353| } 2354| } 2355|-> seq = sdp_seq_alloc(seqDTDs, seqs, seqlen); 2356| free(seqDTDs); 2357| free(seqs);
Diffstat
| M | lib/sdp.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)