cppcheck analysis of openarena_0.8.5-5.dsc
- ./engine/code/botlib/be_aas_routealt.c:173 [error] - Division by zero
- ./engine/code/botlib/be_ai_goal.c:286 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./engine/code/client/snd_codec.c:144 [error] - Dangerous usage of 'fn' (strncpy doesn't always 0-terminate it)
- ./engine/code/game/g_main.c:769 [error] - Buffer access out-of-bounds: level.numteamVotingClients
- ./engine/code/jpeg-6b/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./engine/code/jpeg-6b/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./engine/code/qcommon/common.c:2358 [error] - Null pointer dereference
- ./engine/code/qcommon/files.c:578 [error] - Memory leak: buf
- ./engine/code/qcommon/md4.c:203 [error] - instance of "mdfour" object destroyed immediately
- ./engine/code/qcommon/unzip.c:524 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 525
- ./engine/code/qcommon/unzip.c:1115 [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 1117
- ./engine/code/qcommon/vm_powerpc_asm.c:154 [error] - Possible null pointer dereference: opcode - otherwise it is redundant to check if opcode is null at line 156
- ./game/code/game/g_main.c:1097 [error] - Buffer access out-of-bounds: level.numteamVotingClients
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:17:27 +0000, based on results by cppcheck 1.46