cppcheck analysis of klibc_1.5.20-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/dummypmap.c:269 [error] - Resource leak: portmap_filep
- ./usr/kinit/nfsmount/sunrpc.c:68 [error] - instance of "rpc_header" object destroyed immediately
- ./usr/kinit/nfsmount/sunrpc.c:98 [error] - instance of "rpc_header" object destroyed immediately
- ./usr/kinit/ramdisk_load.c:246 [error] - Resource leak: wfd
- ./usr/klibc/tests/fcntl.c:49 [error] - Resource leak: fd
- ./usr/utils/cpio.c:366 [error] - Possible null pointer dereference: old_table
- ./usr/utils/dd.c:489 [error] - Resource leak: rd_fd
- ./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
- ./usr/utils/losetup.c:342 [error] - Resource leak: fd
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:15:08 +0000, based on results by cppcheck 1.46