cppcheck analysis of blobwars_1.14-dfsg-1.dsc
- ./src/CEngine.cpp:156 [error] - Array 'lastKeyEvents[25]' index 25 out of bounds
- ./src/CGraphics.cpp:870 [error] - Undefined behaviour: chatString is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/CGameObject.h:21 [error] - Class GameObject which is inherited by class Persistant does not have a virtual destructor
- ./src/enemies.cpp:822 [error] - Array 'weapon[25]' index 100 out of bounds
- ./src/enemies.cpp:852 [error] - Array 'weapon[25]' index 100 out of bounds
- ./src/enemies.cpp:65 [possible error] - Memory leak: enemy
- ./src/hub.cpp:70 [error] - Undefined behaviour: string is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/hub.cpp:606 [error] - Undefined behaviour: string is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/loadSave.cpp:112 [error] - Deallocating a deallocated pointer: fp
- ./src/loadSave.cpp:180 [possible error] - Memory leak: persistData
- ./src/pak.cpp:80 [error] - Resource leak: dirp
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:46:22 +0000, based on results by cppcheck 1.41-modif