cppcheck analysis of flightgear_1.9.1-1.1.dsc
- ./src/AIModel/AIShip.cxx:682 [error] - Possible null pointer dereference: prev - otherwise it is redundant to check if prev is null at line 692
- ./src/AIModel/AIShip.cxx:683 [error] - Possible null pointer dereference: prev - otherwise it is redundant to check if prev is null at line 692
- ./src/ATCDCL/ATCVoice.cxx:174 [error] - Memory leak: tmpbuf
- ./src/ATCDCL/ATCVoice.cxx:174 [error] - Memory leak: outbuf
- ./src/FDM/JSBSim/initialization/FGTrim.cpp:218 [error] - After insert, the iterator 'iAxes' may be invalid
- ./src/FDM/JSBSim/initialization/FGTrim.cpp:222 [error] - After insert, the iterator 'iAxes' may be invalid
- ./src/FDM/JSBSim/models/FGFCS.cpp:420 [error] - When ctr==MixtureCmd.size(), MixtureCmd[ctr] is out of bounds
- ./src/FDM/JSBSim/models/FGFCS.cpp:450 [error] - When ctr==PropAdvanceCmd.size(), PropAdvanceCmd[ctr] is out of bounds
- ./src/FDM/JSBSim/models/FGFCS.cpp:480 [error] - When ctr==PropFeatherCmd.size(), PropFeatherCmd[ctr] is out of bounds
- ./src/FDM/JSBSim/models/propulsion/FGTurboProp.cpp:393 [error] - Uninitialized variable: EngPower_HP
- ./src/GUI/gui_funcs.cxx:250 [error] - Memory leak: filename
- ./src/Input/fgjs.cxx:213 [error] - Memory leak: jstree
- ./src/Instrumentation/mk_viii.cxx:986 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/Main/fg_commands.cxx:1586 [error] - Null pointer dereference
- ./src/Main/fg_commands.cxx:1587 [error] - Null pointer dereference
- ./src/Model/modelmgr.cxx:81 [error] - Memory leak: instance
- ./src/Network/ATC-Outputs.cxx:416 [error] - Possible null pointer dereference: src_prop
- ./utils/fgadmin/src/untarka.c:313 [error] - Resource leak: f
- ./utils/js_server/js_server.cxx:83 [error] - Memory leak: ax
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 09:58:04 +0000, based on results by cppcheck 1.46