cppcheck analysis of kbuild_0.1.98svn2318-8.dsc
- ./src/ash/bltin/printf.c:213 [error] - Memory leak: p
- ./src/ash/expand.c:519 [error] - Possible null pointer dereference: loc
- ./src/ash/jobs.c:932 [error] - Allocation with open, if doesn't release it.
- ./src/ash/strlcpy.c:31 [error] - Invalid number of character (() when these macros are defined: 'LIBC_SCCS'.
- ./src/kDepPre/kDepPre.c:490 [error] - Resource leak: pInput
- ./src/kash/bltin/printf.c:207 [error] - Memory leak: p
- ./src/kash/expand.c:530 [error] - Possible null pointer dereference: loc
- ./src/kash/shinstance.c:832 [error] - Uninitialized variable: rc
- ./src/kash/shinstance.c:1365 [error] - Uninitialized variable: rc
- ./src/kash/shinstance.c:924 [error] - Uninitialized variable: pid
- ./src/kash/shinstance.c:1038 [error] - Uninitialized variable: pidret
- ./src/kash/shinstance.c:1272 [error] - Uninitialized variable: pid
- ./src/kash/shinstance.c:1344 [error] - Uninitialized variable: pgrp
- ./src/kash/trap.c:356 [error] - syntax error
- ./src/kmk/kmkbuiltin/cp_utils.c:270 [error] - Array index -1 is out of bounds
- ./src/kmk/kmkbuiltin/strlcpy.c:31 [error] - Invalid number of character (() when these macros are defined: 'LIBC_SCCS'.
- ./src/sed/lib/obstack.c:198 [error] - Possible null pointer dereference: chunk
- ./src/sed/lib/obstack.c:199 [error] - Possible null pointer dereference: chunk
- ./src/sed/lib/obstack.c:258 [error] - Possible null pointer dereference: chunk
- ./src/sed/lib/obstack.c:259 [error] - Possible null pointer dereference: chunk
- ./src/sed/lib/regcomp.c:2730 [error] - Uninitialized variable: symb_table
- ./src/sed/lib/regexec.c:3842 [error] - Uninitialized variable: extra
- ./src/sed/testsuite/tst-pcre.c:122 [error] - Common realloc mistake: "pattern" nulled but not freed upon failure
- ./src/sed/testsuite/tst-pcre.c:151 [error] - Common realloc mistake: "string" 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:15:04 +0000, based on results by cppcheck 1.46