cppcheck analysis of openttd_1.0.4-3.dsc
- ./os/dos/exe2coff.c:56 [error] - Resource leak: ifile
- ./os/os2/svnver1.c:3 [error] - No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./os/os2/svnver2.c:1 [error] - No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./src/3rdparty/squirrel/squirrel/sqclass.cpp:163 [error] - Possible null pointer dereference: _class - otherwise it is redundant to check if _class is null at line 164
- ./src/ai/ai_gui.cpp:1015 [error] - Memory leak: w
- ./src/blitter/32bpp_optimized.cpp:374 [error] - Array 'lengths[4]' index -1 out of bounds
- ./src/engine.cpp:437 [error] - Memory leak: e
- ./src/industry_cmd.cpp:76 [error] - Buffer access out-of-bounds: _origin_industry_specs
- ./src/ini.cpp:256 [error] - Memory leak: item
- ./src/main_gui.cpp:373 [error] - Possible null pointer dereference: vp
- ./src/main_gui.cpp:374 [error] - Possible null pointer dereference: vp
- ./src/openttd.cpp:692 [error] - Possible null pointer dereference: _music_driver
- ./src/town_cmd.cpp:1617 [error] - Memory leak: t
- ./src/vehicle_gui.cpp:510 [error] - Memory leak: w
- ./src/waypoint_cmd.cpp:372 [error] - Memory leak: wp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 13:58:07 +0000, based on results by cppcheck 1.46