cppcheck analysis of coccinelle_0.2.5.deb-2.dsc
- ./demos/change_all_param.c:16 [error] - Uninitialized variable: x
- ./demos/change_all_param.c:16 [error] - Uninitialized variable: y
- ./demos/change_all_param.c:18 [error] - Uninitialized variable: x
- ./demos/change_all_param.c:18 [error] - Uninitialized variable: y
- ./demos/ifdef_skip_tag.c:15 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./demos/pycocci.c:16 [error] - Buffer access out-of-bounds: buf
- ./demos/pycocci.c:21 [error] - Buffer access out-of-bounds: buf
- ./tests/a.c:3 [error] - Uninitialized variable: a
- ./tests/a.c:4 [error] - Uninitialized variable: a
- ./tests/a.c:6 [error] - Uninitialized variable: a
- ./tests/a3d.c:9 [error] - Uninitialized variable: a3d
- ./tests/a3d.c:10 [error] - Uninitialized variable: a3d
- ./tests/a3d.c:16 [error] - Uninitialized variable: a3d
- ./tests/ar.c:11 [error] - Array 'z[15]' index 15 out of bounds
- ./tests/ar.c:8 [error] - Uninitialized variable: x
- ./tests/ar.c:9 [error] - Uninitialized variable: y
- ./tests/ar.c:10 [error] - Uninitialized variable: y
- ./tests/const1.c:4 [error] - Uninitialized variable: i
- ./tests/const1bis.c:4 [error] - Uninitialized variable: i
- ./tests/constty.c:5 [error] - Uninitialized variable: y
- ./tests/dbg.c:6 [error] - Uninitialized variable: pr
- ./tests/decl_star.c:4 [error] - Uninitialized variable: x
- ./tests/expopt.c:3 [error] - Uninitialized variable: x
- ./tests/expopt.c:4 [error] - Uninitialized variable: x
- ./tests/find_long.c:6 [error] - Uninitialized variable: b
- ./tests/find_long.c:7 [error] - Uninitialized variable: a
- ./tests/find_long.c:9 [error] - Uninitialized variable: a
- ./tests/hmt.c:2 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./tests/isotest.c:6 [error] - Uninitialized variable: j
- ./tests/isotest2.c:6 [error] - Uninitialized variable: j
- ./tests/km.c:5 [error] - Memory leak: data
- ./tests/kmalloc.c:6 [error] - Memory leak: x
- ./tests/ktype.c:10 [error] - Memory leak: conf
- ./tests/ldecl.c:3 [error] - Uninitialized variable: a
- ./tests/ldecl.c:3 [error] - Uninitialized variable: b
- ./tests/list_test.c:2 [error] - instance of "f" object destroyed immediately
- ./tests/list_test.c:3 [error] - instance of "g" object destroyed immediately
- ./tests/list_test.c:4 [error] - instance of "h" object destroyed immediately
- ./tests/list_test.c:5 [error] - instance of "h" object destroyed immediately
- ./tests/list_test.c:6 [error] - instance of "h" object destroyed immediately
- ./tests/list_test.c:7 [error] - instance of "h" object destroyed immediately
- ./tests/list_test.c:8 [error] - instance of "h" object destroyed immediately
- ./tests/list_test.c:9 [error] - instance of "h" object destroyed immediately
- ./tests/list_test.c:10 [error] - instance of "h" object destroyed immediately
- ./tests/localid.c:5 [error] - Uninitialized variable: a
- ./tests/localid.c:6 [error] - Uninitialized variable: a
- ./tests/longconst.c:5 [error] - Uninitialized variable: b
- ./tests/macro_int16.c:7 [error] - Uninitialized variable: a
- ./tests/macro_int16.c:7 [error] - Uninitialized variable: b
- ./tests/mini_null_ref.c:5 [error] - Possible null pointer dereference: pdata - otherwise it is redundant to check if pdata is null at line 6
- ./tests/null_type.c:5 [error] - Uninitialized variable: x
- ./tests/ptrar.c:5 [error] - Uninitialized variable: x
- ./tests/return.c:3 [error] - Uninitialized variable: x
- ./tests/scope_problem.c:4 [error] - Uninitialized variable: a
- ./tests/scripting/array/script4.c:16 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/array/script4.c:21 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script1.c:6 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script2.c:6 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script2.c:11 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script3.c:12 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script3.c:17 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script4.c:12 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script4.c:17 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script5.c:12 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script5.c:17 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script6.c:12 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script6.c:17 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script8.c:12 [error] - Buffer access out-of-bounds: buf
- ./tests/scripting/script8.c:17 [error] - Buffer access out-of-bounds: buf
- ./tests/signed.c:4 [error] - Uninitialized variable: x
- ./tests/sizeptr.c:8 [error] - Uninitialized variable: a
- ./tests/sizeptr.c:9 [error] - Uninitialized variable: x
- ./tests/sizeptr.c:10 [error] - Uninitialized variable: x
- ./tests/sizeptr.c:10 [error] - Uninitialized variable: y
- ./tests/strangeorder.c:12 [error] - Memory leak: client
- ./tests/test8.c:8 [error] - Uninitialized variable: j
- ./tests/testifdef.c:948 [error] - Possible null pointer dereference: crtc2 - otherwise it is redundant to check if crtc2 is null at line 949
- ./tests/testifdef.c:947 [error] - Uninitialized variable: crtc2
- ./tests/testifdef.c:2088 [error] - Memory leak: minfo
- ./tests/three_types.c:10 [error] - Uninitialized variable: blitq
- ./tests/type_annotated_fields.c:37 [error] - Uninitialized variable: i
- ./tests/type_infer.c:6 [error] - Memory leak: amp
- ./tests/typeof.c:3 [error] - Uninitialized variable: x
- ./tests/typeur.c:5 [error] - Uninitialized variable: y
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 15 Apr 2011 06:58:03 +0000, based on results by cppcheck 1.46