cppcheck analysis of ncbi-tools6_6.1.20090809-2.dsc
- ./algo/blast/api/blast_format.c:88 [error] - Memory leak: format_options
- ./algo/blast/api/blast_seq.c:108 [error] - Memory leak: hashtable
- ./algo/blast/api/blast_seq.c:254 [error] - Memory leak: hashtable
- ./algo/blast/api/blast_tabular.c:566 [error] - Memory leak: query_lengths
- ./algo/blast/composition_adjustment/composition_adjustment.c:1130 [error] - Memory leak: scoreArray
- ./algo/blast/core/blast_filter.c:342 [error] - Memory leak: retval
- ./algo/blast/core/blast_gapalign.c:502 [error] - Common realloc mistake: "edit_start_offset" nulled but not freed upon failure
- ./algo/blast/core/blast_gapalign.c:1481 [error] - Common realloc mistake: "edit_start_offset" nulled but not freed upon failure
- ./algo/blast/core/blast_hits.c:2892 [error] - Memory leak: hsp_array
- ./algo/blast/core/blast_lookup.c:72 [error] - Common realloc mistake: "chain" nulled but not freed upon failure
- ./algo/blast/core/blast_nalookup.c:415 [error] - Memory leak: lookup
- ./algo/blast/core/blast_nalookup.c:813 [error] - Memory leak: helper_array
- ./algo/blast/core/blast_nalookup.c:813 [error] - Memory leak: helper_array2
- ./algo/blast/core/blast_nalookup.c:930 [error] - Memory leak: helper_array
- ./algo/blast/core/blast_posit.c:393 [error] - Memory leak: scoreArray
- ./algo/blast/core/blast_stat.c:1313 [error] - Memory leak: full_matrix_path
- ./algo/blast/core/blast_stat.c:1544 [error] - Memory leak: residues
- ./algo/blast/core/blast_stat.c:4268 [error] - Memory leak: scoreArray
- ./algo/blast/core/blast_stat.c:4268 [error] - Memory leak: resProb
- ./algo/blast/core/blast_stat.c:4268 [error] - Memory leak: return_sfp
- ./algo/blast/core/link_hsps.c:1095 [error] - Memory leak: hp_frame_number
- ./algo/blast/core/lookup_util.c:191 [error] - Memory leak: a
- ./algo/blast/core/pattern.c:360 [error] - Memory leak: mask
- ./algo/blast/core/phi_gapalign.c:256 [error] - Memory leak: editInstructions
- ./api/asn2ff1.c:5095 [error] - Uninitialized variable: buffer
- ./api/asn2ff1.c:5321 [error] - Uninitialized variable: buffer
- ./api/asn2ff1.c:5418 [error] - Uninitialized variable: buffer
- ./api/asn2ff3.c:2305 [error] - Uninitialized variable: buffer
- ./api/asn2ff3.c:2704 [error] - Uninitialized variable: buffer
- ./api/asn2ff3.c:2704 [error] - Uninitialized variable: temp
- ./api/asn2ff4.c:543 [error] - Uninitialized variable: buf_space
- ./api/asn2ff4.c:544 [error] - Uninitialized variable: halfbuf_space
- ./api/asn2ff4.c:641 [error] - Uninitialized variable: localbuf_space
- ./api/asn2ff4.c:642 [error] - Uninitialized variable: piecebuf_space
- ./api/asn2ff4.c:928 [error] - Uninitialized variable: buf_space
- ./api/asn2ff4.c:947 [error] - Uninitialized variable: buf_space
- ./api/asn2ff4.c:1067 [error] - Uninitialized variable: buf_space
- ./api/asn2gnb5.c:1835 [error] - Null pointer dereference
- ./api/gbparint.c:1919 [error] - Null pointer dereference
- ./api/gbparint.c:2305 [error] - Null pointer dereference
- ./biostruc/cdd/cddutil.c:1772 [error] - Memory leak: iSegStart
- ./biostruc/cdd/cddutil.c:1772 [error] - Memory leak: iSegLen
- ./biostruc/cdd/thrdslo0.c:279 [error] - Memory leak: co
- ./biostruc/newVSch/vastsrv_comb.cpp:1832 [error] - Buffer access out-of-bounds
- ./biostruc/newVSch/vastsrv_comb.cpp:1833 [error] - Buffer access out-of-bounds
- ./biostruc/newVSch/vastsrv_comb.cpp:1655 [error] - Memory leak: Keptfid
- ./biostruc/newVSch/vastsrv_comb.cpp:853 [error] - Uninitialized variable: n
- ./connect/mitsock/OTidle.c:107 [error] - Memory leak: handler
- ./connect/ncbi_heapmgr.c:974 [style] - Redundant assignment of "s_HEAP_fast" in switch
- ./connect/test/test_ncbi_connutil_hit.c:92 [error] - Resource leak: fp
- ./connect/test/test_ncbi_sendmail.c:123 [error] - Resource leak: fp
- ./demo/entrcmd.c:209 [error] - Uninitialized variable: lsp
- ./demo/errhdr.c:78 [error] - Resource leak: fout
- ./desktop/dotvibrant.c:6489 [error] - Uninitialized variable: afile
- ./desktop/saldist.c:2566 [error] - Resource leak: f
- ./desktop/vsm.c:2271 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2299 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2324 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2335 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2386 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2415 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2429 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2443 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2471 [error] - Uninitialized variable: buf
- ./desktop/vsm.c:2563 [error] - Uninitialized variable: buf
- ./link/macmet/setrsrc.c:376 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./network/medarch/server/ma_intfc.c:257 [error] - Resource leak: fd
- ./network/wwwblast/Src/viewgif.c:106 [error] - Resource leak: pp
- ./regexp/demo/pcregrep.c:475 [error] - Resource leak: f
- ./regexp/util/dftables.c:145 [error] - Memory leak: tables
- ./tools/blast_dust.c:387 [error] - Memory leak: seq
- ./tools/spidey.c:527 [error] - Buffer access out-of-bounds: rep_buf
- ./util/creaders/alnread.c:2920 [error] - Memory leak: empty_defline
- ./util/creaders/alnread.c:5227 [error] - Memory leak: list
- ./vibrant/image.c:1001 [error] - Uninitialized variable: dst
- ./vibrant/ncbidraw.c:1495 [error] - Invalid number of character ({) when these macros are defined: 'CopyBits;WIN_MAC'.
- ./vibrant/ncbidraw.c:1367 [error] - Uninitialized variable: i
- ./vibrant/ncbidraw.c:1495 [error] - Invalid number of character ({) when these macros are defined: 'VAR_ARGS;WIN_MAC'.
- ./vibrant/ncbidraw.c:1495 [error] - Invalid number of character ({) when these macros are defined: 'WIN_GIF;WIN_MAC'.
- ./vibrant/shim3d.c:2222 [error] - Dangerous usage of 'fnd_fam' (strncpy doesn't always 0-terminate it)
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:17:15 +0000, based on results by cppcheck 1.46