cppcheck analysis of mono_2.6.7-5.dsc
- ./libgc/setjmp_t.c:57 [error] - Return of the address of an auto-variable
- ./mono/dis/get.c:160 [error] - Possible null pointer dereference: sizes
- ./mono/dis/get.c:167 [error] - Possible null pointer dereference: lo_bounds
- ./mono/metadata/console-unix.c:76 [error] - Resource leak: fd
- ./mono/metadata/metadata-verify.c:2461 [error] - Array 'data[2]' index 2 out of bounds
- ./mono/metadata/metadata-verify.c:2894 [error] - Array 'data[1]' index 2 out of bounds
- ./mono/metadata/metadata-verify.c:3243 [error] - Array 'data[2]' index 42 out of bounds
- ./mono/metadata/mono-basic-block.c:522 [error] - Possible null pointer dereference: header - otherwise it is redundant to check if header is null at line 527
- ./mono/metadata/object.c:5070 [error] - Memory leak: r
- ./mono/mini/mini-codegen.c:220 [error] - Array index -1 is out of bounds
- ./mono/mini/mini-codegen.c:240 [error] - Array index -1 is out of bounds
- ./mono/mini/mini-codegen.c:963 [error] - Array index -1 is out of bounds
- ./mono/tests/libtest.c:792 [error] - ### Internal error in Cppcheck. Please report it.
- ./mono/utils/monobitset.c:680 [error] - Memory leak: set4
- ./support/gzio.c:179 [error] - Memory leak: s.path
- ./support/minizip/unzip.c:520 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 521
- ./support/minizip/unzip.c:1089 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 1091
- ./support/minizip/zip.c:179 [error] - Possible null pointer dereference: ldi - otherwise it is redundant to check if ldi is null at line 180
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 29 Jan 2011 06:58:08 +0000, based on results by cppcheck 1.46