cppcheck analysis of egoboo_2.7.7-1.dsc
- ./game/cartman.c:2247 [error] - Resource leak: filewrite
- ./game/cartman.c:3067 [error] - Uninitialized variable: x
- ./game/cartman.c:3067 [error] - Uninitialized variable: y
- ./game/char.c:732 [error] - Array 'chron[350]' index 350 out of bounds
- ./game/char.c:738 [error] - Array 'chron[350]' index 350 out of bounds
- ./game/enchant.c:1398 [error] - Array 'chron[350]' index 350 out of bounds
- ./game/enchant.c:1638 [error] - Array 'chron[350]' index 350 out of bounds
- ./game/game.c:235 [error] - Buffer access out-of-bounds: todirname
- ./game/graphic.c:230 [error] - Buffer access out-of-bounds: madskintoicon
- ./game/graphic.c:1040 [error] - Dangerous usage of 'loc_loadpath' (strncpy doesn't always 0-terminate it)
- ./game/menu.c:772 [style] - Redundant assignment of "menuState" in switch
- ./game/menu.c:1200 [style] - Redundant assignment of "menuState" in switch
- ./game/menu.c:2293 [style] - Redundant assignment of "menuState" in switch
- ./game/menu.c:2325 [style] - Redundant assignment of "menuState" in switch
- ./game/menu.c:2362 [style] - Redundant assignment of "menuState" in switch
- ./game/menu.c:2380 [style] - Redundant assignment of "menuState" in switch
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 22:58:04 +0000, based on results by cppcheck 1.46