cppcheck analysis of klibc_1.5.21-1.dsc
- ./scripts/basic/fixdep.c:151 [error] - Common realloc mistake: "str_config" nulled but not freed upon failure
- ./usr/dash/jobs.c:874 [error] - Allocation with open, if doesn't release it.
- ./usr/dash/mknodes.c:265 [error] - Resource leak: hfile
- ./usr/dash/mknodes.c:265 [error] - Resource leak: patfile
- ./usr/dash/parser.c:856 [error] - Uninitialized variable: prevsyntax
- ./usr/kinit/nfsmount/dummypmap.c:153 [error] - Array index -4 is out of bounds
- ./usr/kinit/nfsmount/sunrpc.c:67 [error] - instance of "rpc_header" object destroyed immediately
- ./usr/kinit/nfsmount/sunrpc.c:97 [error] - instance of "rpc_header" object destroyed immediately
- ./usr/utils/cpio.c:366 [error] - Possible null pointer dereference: old_table
- ./usr/utils/insmod.c:76 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./usr/utils/insmod.c:114 [error] - Common realloc mistake: "options" nulled but not freed upon failure
- ./usr/utils/insmod.c:70 [error] - Memory leak: buffer
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, 30 Jan 2011 06:58:15 +0000, based on results by cppcheck 1.46