cppcheck analysis of c-cpp-reference_2.0.2-7.dsc
- ./reference/C/CONTRIB/OR_PRACTICAL_C/14_03.c:48 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./reference/C/CONTRIB/OR_PRACTICAL_C/14_05.c:28 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./reference/C/CONTRIB/OR_PRACTICAL_C/14_07.c:75 [error] - Resource leak: in_file
- ./reference/C/CONTRIB/OR_PRACTICAL_C/14_08.c:77 [error] - Resource leak: in_file
- ./reference/C/CONTRIB/OR_PRACTICAL_C/14_10.c:10 [error] - Division by zero
- ./reference/C/CONTRIB/OR_PRACTICAL_C/14_11.c:12 [error] - Division by zero
- ./reference/C/CONTRIB/OR_PRACTICAL_C/16_1.c:3 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./reference/C/CONTRIB/OR_USING_C/d.1.c:30 [error] - Mismatching allocation and deallocation: dp
- ./reference/C/CONTRIB/OR_USING_C/d.1.c:26 [error] - Memory leak: dp
- ./reference/C/CONTRIB/OR_USING_C/d.1.c:80 [error] - Resource leak: dirp
- ./reference/C/CONTRIB/OR_USING_C/dircom.c:30 [error] - Mismatching allocation and deallocation: dp
- ./reference/C/CONTRIB/OR_USING_C/dircom.c:26 [error] - Memory leak: dp
- ./reference/C/CONTRIB/OR_USING_C/dircom.c:80 [error] - Resource leak: dirp
- ./reference/C/CONTRIB/SNIP/bincomp.c:171 [error] - Resource leak: f1
- ./reference/C/CONTRIB/SNIP/bincomp.c:171 [error] - Resource leak: f2
- ./reference/C/CONTRIB/SNIP/bmhisrch.c:43 [error] - Common realloc mistake: "pat" nulled but not freed upon failure
- ./reference/C/CONTRIB/SNIP/chbytes.c:76 [error] - Resource leak: fp
- ./reference/C/CONTRIB/SNIP/crc-16f.c:128 [error] - Resource leak: fd
- ./reference/C/CONTRIB/SNIP/crypt.c:82 [error] - Resource leak: in
- ./reference/C/CONTRIB/SNIP/dspdtst.c:149 [error] - Resource leak: nulfile
- ./reference/C/CONTRIB/SNIP/favail.c:52 [error] - Resource leak: fp
- ./reference/C/CONTRIB/SNIP/fsize.c:17 [error] - Memory leak: bufptr
- ./reference/C/CONTRIB/SNIP/fsize.c:50 [error] - Resource leak: fp
Note: this report is incomplete, which means that an error ocurred
while checking this package and not all of the code was analysed.
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:12:53 +0000, based on results by cppcheck 1.46