cppcheck analysis of splint_3.1.2.dfsg1-2.dsc
- ./src/cgrammar.c:4156 [error] - Memory leak: yyptr
- ./src/cpplib.c:8521 [error] - Resource leak: f
- ./src/cscannerHelp.c:2068 [error] - Uninitialized variable: tval
- ./src/llgrammar.c:2880 [error] - Memory leak: yyptr
- ./src/mtgrammar.c:972 [error] - Memory leak: yyptr
- ./src/signature.c:1443 [error] - Memory leak: yyptr
- ./test/abstptr.c:17 [error] - Null pointer dereference
- ./test/abstptr.c:18 [error] - Null pointer dereference
- ./test/alias2.c:17 [error] - Uninitialized variable: lx
- ./test/buffertest1.c:20 [error] - Uninitialized variable: g
- ./test/buffertest1.c:21 [error] - Uninitialized variable: g
- ./test/cases.c:13 [error] - Uninitialized variable: i
- ./test/constannot.c:6 [error] - Array 'buf[20]' index 20 out of bounds
- ./test/constannot.c:11 [error] - Array 'buf[20]' index 20 out of bounds
- ./test/decl.c:13 [error] - Array 'buf[10]' index 10 out of bounds
- ./test/divzero.c:3 [error] - Division by zero
- ./test/enum.c:15 [error] - Uninitialized variable: a
- ./test/for/for.c:13 [error] - Buffer access out-of-bounds: t
- ./test/iter.h:7 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./test/iter2.c:14 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./test/malloc.c:5 [error] - Array 'ip[22]' index 88 out of bounds
- ./test/malloc.c:15 [error] - Array 'ip[22]' index 22 out of bounds
- ./test/malloc.c:26 [error] - Array 'ip[87]' index 87 out of bounds
- ./test/malloc.c:35 [error] - Array 'ip[43]' index 86 out of bounds
- ./test/malloc.c:3 [error] - The given size 89 is mismatching
- ./test/malloc.c:33 [error] - The given size 174 is mismatching
- ./test/manual/only.c:14 [error] - Memory leak: m
- ./test/manual/sample.c:11 [error] - Memory leak: x
- ./test/manual/setChar.c:5 [error] - Array 'buf[10]' index 10 out of bounds
- ./test/manual/stack.c:12 [error] - Return of the address of an auto-variable
- ./test/mergestate/taintednm.c:24 [error] - Returning pointer to local array variable
- ./test/metastate/file2.c:13 [error] - Resource leak: fle1
- ./test/metastate/file3.c:13 [error] - Resource leak: fle1
- ./test/moreBufferTests/strncatNotReallyGood.c:4 [error] - Uninitialized variable: buffer
- ./test/moreBufferTests2/initBlock.c:8 [error] - Array 'buf[10]' index 10 out of bounds
- ./test/null1.c:39 [error] - Possible null pointer dereference: z
- ./test/null1.c:43 [error] - Possible null pointer dereference: z4
- ./test/null1.c:19 [error] - Memory leak: y
- ./test/null1.c:67 [error] - Memory leak: z3
- ./test/null1.c:34 [error] - Data is allocated but not initialized: z
- ./test/nullterminatedtest/buggy_support1.c:47 [error] - Common realloc mistake: "word" nulled but not freed upon failure
- ./test/nullterminatedtest/test3.c:14 [error] - Uninitialized variable: x
- ./test/nullterminatedtest/test3.c:14 [error] - Uninitialized variable: y
- ./test/outparam.c:8 [error] - Uninitialized variable: u1
- ./test/outparam.c:9 [error] - Uninitialized variable: u1
- ./test/outparam.c:37 [error] - Uninitialized variable: c
- ./test/outparam.c:39 [error] - Uninitialized variable: d
- ./test/outparam.c:39 [error] - Uninitialized variable: c
- ./test/outparam.c:40 [error] - Uninitialized variable: c
- ./test/outparam.c:40 [error] - Uninitialized variable: d
- ./test/simplebufferConstraintTests/sizeof.c:17 [error] - Array 'x[3]' index 3 out of bounds
- ./test/simplebufferConstraintTests/test3.c:9 [error] - Array 'g[100]' index 101 out of bounds
- ./test/simplebufferConstraintTests/test3.c:10 [error] - Array 'g[100]' index 100 out of bounds
- ./test/sizeof.c:6 [error] - Array 'x[3]' index 3 out of bounds
- ./test/sizeoftest/sizeof.c:6 [error] - Array 'x[3]' index 3 out of bounds
- ./test/stack.c:20 [error] - Return of the address of an auto-variable
- ./test/stack.c:31 [error] - Returning pointer to local array variable
- ./test/t1.c:5 [error] - Memory leak: z
- ./test/tainted/taintedmerge.c:16 [error] - Returning pointer to local array variable
- ./test/test.c:3 [error] - Uninitialized variable: ip
- ./test/tests2.2a/toralf.c:15 [error] - Uninitialized variable: i1
- ./test/tests2.2a/toralf.c:15 [error] - Uninitialized variable: f
- ./test/tests2.4/array.c:22 [error] - Uninitialized variable: a
- ./test/tests2.4/main.c:10 [error] - Memory leak: p
- ./test/tests2.4/main.c:8 [error] - Uninitialized variable: j
- ./test/tests2.4/timecard.c:156 [error] - Uninitialized variable: m
- ./test/tests2.4/toothman.c:156 [error] - Uninitialized variable: m
- ./test/tests2.5/boolbad.c:12 [error] - Uninitialized variable: foo
- ./test/tests2.5/impabsmodule.c:10 [error] - Uninitialized variable: var
- ./test/ud.c:10 [error] - Uninitialized variable: z
- ./test/ud.c:39 [error] - Uninitialized variable: j
- ./test/ud.c:49 [error] - Uninitialized variable: i
- ./test/ud.c:50 [error] - Uninitialized variable: z5
- ./test/ullint.c:30 [error] - Buffer access out-of-bounds: _src
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:18:44 +0000, based on results by cppcheck 1.46