cppcheck analysis of samtools_0.1.14-1.dsc
- ./bam_import.c:150 [error] - Memory leak: hash
- ./bam_index.c:406 [error] - Deallocating a deallocated pointer: fp
- ./bam_plcmd.c:278 [error] - Possible null pointer dereference: r - otherwise it is redundant to check if r is null at line 279
- ./bam_plcmd.c:839 [error] - Resource leak: fh
- ./bcftools/call1.c:211 [error] - Common realloc mistake: "sam" nulled but not freed upon failure
- ./bcftools/call1.c:405 [error] - Memory leak: b
- ./bcftools/call1.c:405 [error] - Memory leak: blast
- ./bcftools/call1.c:405 [error] - Memory leak: seeds
- ./bcftools/index.c:262 [error] - Memory leak: idx
- ./bcftools/vcf.c:33 [error] - Memory leak: h
- ./cut_target.c:173 [error] - Common realloc mistake: "cns" nulled but not freed upon failure
- ./faidx.c:91 [error] - Common realloc mistake: "name" nulled but not freed upon failure
- ./knetfile.c:426 [error] - Memory leak: buf
- ./phase.c:189 [error] - Common realloc mistake: "left" nulled but not freed upon failure
- ./phase.c:190 [error] - Common realloc mistake: "rght" nulled but not freed upon failure
- ./phase.c:268 [error] - Common realloc mistake: "list" nulled but not freed upon failure
- ./phase.c:630 [error] - Common realloc mistake: "cns" nulled but not freed upon failure
- ./sam_header.c:655 [error] - Common realloc mistake: "ret" nulled but not freed upon failure
- ./sam_header.c:369 [error] - Memory leak: hline
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 08 Apr 2011 06:58:12 +0000, based on results by cppcheck 1.46