cppcheck analysis of luola_1.3.2-5.dsc
- ./src/bullet.c:496 [error] - Memory leak: newmine
- ./src/game.c:257 [error] - Undefined behaviour: summary 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/lcmap.c:205 [error] - Memory leak: colors
- ./src/lconf.c:272 [error] - Memory leak: settings.override
- ./src/ldat.c:105 [error] - Memory leak: newldat
- ./src/ldat.c:124 [error] - Memory leak: newblock
- ./src/ship.c:184 [error] - Memory leak: newship
- ./tools/archive.c:138 [error] - Resource leak: fp
- ./tools/im_tou.c:126 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./tools/im_tou.c:228 [error] - Resource leak: fp
- ./tools/im_vwing.c:82 [error] - Common realloc mistake: "leveldata" nulled but not freed upon failure
- ./tools/lcmaptool.c:91 [error] - Memory leak: mapdata
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:16:51 +0000, based on results by cppcheck 1.46