cppcheck analysis of afflib_3.5.12-2.dsc
- ./lib/afflib.cpp:752 [error] - Data is allocated but not initialized: bigger_data
- ./lib/aftest.cpp:212 [error] - Memory leak: tally
- ./lib/aftest.cpp:461 [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:370 [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:135 [error] - Invalid number of character ({) when these macros are defined: '__never_defined__'.
- ./tools/afconvert.cpp:582 [error] - Memory leak: a_out_fn
- ./tools/afcrypto.cpp:569 [error] - Memory leak: passphrase_file
- ./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/afrecover.cpp:174 [error] - Memory leak: my_parity_buf
- ./tools/afsegment.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 Mon, 20 Dec 2010 21:12:14 +0000, based on results by cppcheck 1.46