cppcheck analysis of openarena_0.8.1-6.dsc
- ./code/client/snd_codec.c:144 [error] - Dangerous usage of 'fn' (strncpy doesn't always 0-terminate it)
- ./code/jpeg-6/jpegtran.c:370 [possible error] - Resource leak: input_file
- ./code/jpeg-6/jpegtran.c:370 [possible error] - Resource leak: output_file
- ./code/libspeex/testenc.c:145 [error] - Resource leak: fbits
- ./code/libspeex/testenc_uwb.c:136 [error] - Resource leak: fbits
- ./code/libspeex/testenc_wb.c:139 [error] - Resource leak: fbits
- ./code/qcommon/common.c:2362 [error] - Null pointer dereference
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: 'Q3_BIG_ENDIAN;Q3_LITTLE_ENDIAN;__ASM_I386__'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;NDEBUG'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;Q3_VM'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;_WIN32'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;_WIN32;_MSC_VER'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;__sgi'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;__sun'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;__sun;_BIG_ENDIAN'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;__sun;_LITTLE_ENDIAN'.
- ./code/qcommon/files.c:2852 [error] - Invalid number of character ({) when these macros are defined: '__ASM_I386__;__sun;__i386__'.
- ./code/qcommon/unzip.c:1295 [error] - Resource leak: fin
- ./code/qcommon/unzip.c:1332 [error] - Resource leak: fin
- ./code/qcommon/vm_ppc.c:676 [error] - Array 'itofConvert[2]' index 2 out of bounds
- ./code/sys/sys_unix.c:275 [error] - Resource leak: fdir
- ./code/sys/sys_unix.c:361 [error] - Resource leak: fdir
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:59:41 +0000, based on results by cppcheck 1.41-modif