cppcheck analysis of afflib_3.6.6-1.dsc
- ./lib/afflib.cpp:750 [error] - Data is allocated but not initialized: bigger_data
- ./lib/aftest.cpp:208 [error] - Memory leak: tally
- ./lib/aftest.cpp:457 [error] - Memory leak: buf
- ./lib/base64.h:20 [error] - Invalid number of character ({) when these macros are defined: 'NEVER_DEFINED'.
- ./lib/qemu/block-qcow.c:779 [error] - Resource leak: fd
- ./lib/qemu/block-qcow2.c:1116 [error] - Resource leak: fd
- ./lib/qemu/block-raw-posix.c:539 [error] - Resource leak: fd
- ./lib/qemu/block-vmdk.c:237 [error] - Resource leak: snp_fd
- ./lib/qemu/block-vmdk.c:237 [error] - Resource leak: p_fd
- ./lib/qemu/block-vmdk.c:771 [error] - Resource leak: fd
- ./lib/qemu/block-vvfat.c:517 [error] - Buffer access out-of-bounds: entry.name
- ./lib/qemu/block-vvfat.c:873 [error] - snprintf size is out of bounds
- ./lib/qemu/block-vvfat.c:760 [error] - Resource leak: dir
- ./lib/qemu/block-vvfat.c:2254 [error] - Memory leak: cluster
- ./lib/qemu/block-vvfat.c:1262 [error] - Buffer access out-of-bounds: direntry.name
- ./lib/qemu/block-vvfat.c:1968 [error] - Uninitialized variable: next_mapping
- ./lib/vnode_afd.cpp:392 [error] - Resource leak: dirp
- ./lzma443/C/7zip/Compress/LZMA_C/LzmaStateTest.c:178 [error] - Resource leak: inFile
- ./lzma443/C/7zip/Compress/LZMA_C/LzmaTest.c:325 [error] - Resource leak: inFile
- lib/afflib.h:130 [error] - Invalid number of character ({) when these macros are defined: '__never_defined__'.
- ./tools/aff_bom.cpp:112 [error] - Common realloc mistake: "notes" nulled but not freed upon failure
- ./tools/aff_bom.cpp:240 [error] - Memory leak: segdata
- ./tools/affconvert.cpp:582 [error] - Memory leak: a_out_fn
- ./tools/affcrypto.cpp:550 [error] - Memory leak: passphrase_file
- ./tools/affrecover.cpp:174 [error] - Memory leak: my_parity_buf
- ./tools/affsegment.cpp:130 [error] - Common realloc mistake: "value" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 27 Mar 2011 06:58:02 +0000, based on results by cppcheck 1.46