cppcheck analysis of lsb-pkgchk3_3.2.1-1.1.dsc
- ./tests/misc/appchk/appchk.c:297 [error] - Common realloc mistake: "extra_lib_list" nulled but not freed upon failure
- ./tests/misc/appchk/appchk.c:335 [error] - Common realloc mistake: "test_binaries_list" nulled but not freed upon failure
- ./tests/misc/appchk/appchk.c:361 [error] - Common realloc mistake: "test_binaries_list" nulled but not freed upon failure
- ./tests/misc/appchk/appchk.c:366 [error] - Common realloc mistake: "extra_lib_list" nulled but not freed upon failure
- ./tests/misc/appchk/appchk.c:27 [error] - Memory leak: tmp
- ./tests/misc/appchk/appchk.c:55 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./tests/misc/appchk/libraries.c:23 [error] - Common realloc mistake: "symtable" nulled but not freed upon failure
- ./tests/misc/appchk/output.c:81 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./tests/misc/appchk/output.c:361 [error] - Memory leak: prepared
- ./tests/misc/archk/archk.c:122 [error] - Common realloc mistake: "extra_lib_list" nulled but not freed upon failure
- ./tests/misc/archk/archk.c:24 [error] - Memory leak: tmp
- ./tests/misc/archk/libraries.c:23 [error] - Common realloc mistake: "symtable" nulled but not freed upon failure
- ./tests/misc/cmdchk/cmdchk.c:136 [error] - Memory leak: tmp
- ./tests/misc/dynchk/tests/memmap.c:63 [error] - Common realloc mistake: "mem" nulled but not freed upon failure
- ./tests/misc/dynchk/tests/socketfamily.c:16 [error] - No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./tests/misc/elfchk/dynamic.c:587 [error] - Common realloc mistake: "ExtraDtNeeded" nulled but not freed upon failure
- ./tests/misc/elfchk/hdr.c:191 [error] - Uninitialized variable: hdr1
- ./tests/misc/elfchk/sections.c:334 [error] - Possible null pointer dereference: hdr1 - otherwise it is redundant to check if hdr1 is null at line 337
- ./tests/misc/elfchk/util.c:111 [error] - Memory leak: efile
- ./tests/misc/fhschk/mkabs.c:38 [error] - Dangerous usage of 'joinedpath' (strncpy doesn't always 0-terminate it)
- ./tests/misc/fhschk/mkabs.c:156 [error] - Memory leak: p
- ./tests/misc/libchk/libchk.c:926 [error] - Common realloc mistake: "library_paths" nulled but not freed upon failure
- ./tests/misc/libchk/libchk.c:950 [error] - Resource leak: in_file
- ./tests/misc/pkgchk/pkgchk.c:62 [error] - Memory leak: tmp
- ./tests/misc/rpmchk/archive.c:365 [error] - Possible null pointer dereference: elfFile - otherwise it is redundant to check if elfFile is null at line 420
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 15:58:51 +0000, based on results by cppcheck 1.46