cppcheck analysis of flightgear_1.9.1-1.1.dsc
- ./src/ATCDCL/ATCVoice.cxx:154 [error] - Memory leak: wdptr
- ./src/ATCDCL/ATCVoice.cxx:174 [error] - Memory leak: outbuf
- ./src/Airports/gnnode.hxx:34 [error] - Class FGTaxiNode which is inherited by class FGParking does not have a virtual destructor
- ./src/Autopilot/route_mgr.hxx:76 [possible error] - Memory leak: FGRouteMgr::listener
- ./src/Cockpit/panel_io.cxx:496 [possible error] - Memory leak: tlayer
- ./src/Cockpit/panel_io.cxx:773 [possible error] - Memory leak: panel
- ./src/Cockpit/panel_io.cxx:799 [possible error] - Memory leak: instrument
- ./src/Environment/environment_ctrl.cxx:522 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:528 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:542 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:547 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:561 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:598 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:602 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:606 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:610 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:926 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:931 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:935 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:939 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:945 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:949 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:953 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/environment_ctrl.cxx:957 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:382 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:387 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:391 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:395 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:403 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:407 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:411 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.cxx:415 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/Environment/fgclouds.hxx:61 [possible error] - Memory leak: FGClouds::snd_lightning
- ./src/Environment/fgclouds.hxx:67 [possible error] - Memory leak: FGClouds::last_env_config
- ./src/Environment/fgclouds.hxx:67 [possible error] - Memory leak: FGClouds::last_env_clouds
- ./src/FDM/JSBSim/FGJSBBase.h:87 [error] - Class FGJSBBase which is inherited by class FGFDMExec does not have a virtual destructor
- ./src/FDM/JSBSim/FGJSBBase.h:87 [error] - Class FGJSBBase which is inherited by class FGState does not have a virtual destructor
- ./src/FDM/JSBSim/initialization/FGTrim.cpp:188 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/FDM/JSBSim/models/FGFCS.cpp:420 [error] - When ctr==MixturePos.size(), MixturePos[ctr] is out of bounds
- ./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==PropAdvance.size(), PropAdvance[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==PropFeather.size(), PropFeather[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/FDM/SP/ADA.hxx:33 [possible error] - Memory leak: FGADA::fdmsock
- ./src/FDM/UIUCModel/uiuc_1DdataFileReader.cpp:117 [possible error] - Memory leak: matrix
- ./src/FDM/UIUCModel/uiuc_1DdataFileReader.cpp:156 [possible error] - Memory leak: matrix
- ./src/FDM/UIUCModel/uiuc_2DdataFileReader.cpp:136 [possible error] - Memory leak: matrix
- ./src/FDM/UIUCModel/uiuc_flapdata.cpp:277 [possible error] - Mismatching allocation and deallocation: FlapData::alphaArray
- ./src/FDM/UIUCModel/uiuc_flapdata.cpp:278 [possible error] - Mismatching allocation and deallocation: FlapData::speedArray
- ./src/FDM/UIUCModel/uiuc_flapdata.cpp:279 [possible error] - Mismatching allocation and deallocation: FlapData::freqArray
- ./src/FDM/UIUCModel/uiuc_flapdata.cpp:280 [possible error] - Mismatching allocation and deallocation: FlapData::phiArray
- ./src/FDM/YASim/yasim-test.cpp:80 [possible error] - Memory leak: fdm
- ./src/GUI/dialog.hxx:25 [error] - Class GUI_ID which is inherited by class AirportList does not have a virtual destructor
- ./src/GUI/gui_funcs.cxx:250 [possible error] - Memory leak: filename
- ./src/GUI/dialog.hxx:25 [error] - Class GUI_ID which is inherited by class PropertyList does not have a virtual destructor
- ./src/Input/fgjs.cxx:214 [possible error] - Memory leak: jstree
- ./src/Instrumentation/instrument_mgr.hxx:37 [possible error] - Memory leak: FGInstrumentMgr::config_props
- ./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/viewer.hxx:342 [possible error] - Memory leak: FGViewer::_location
- ./src/Main/viewer.hxx:343 [possible error] - Memory leak: FGViewer::_target_location
- ./src/Model/modelmgr.cxx:131 [error] - Memory leak: instance
- ./src/Network/httpd.hxx:75 [possible error] - Memory leak: hc
- ./src/Network/jpg-httpd.hxx:103 [possible error] - Memory leak: hc
- ./src/Network/props.cxx:513 [possible error] - Memory leak: channel
- ./src/Sound/voice.hxx:66 [possible error] - Memory leak: FGVoiceMgr::_thread
- ./src/Systems/system_mgr.hxx:37 [possible error] - Memory leak: FGSystemMgr::config_props
- ./utils/GPSsmooth/UGear_telnet.cxx:232 [possible error] - Memory leak: channel
- ./utils/fgadmin/src/fgadmin.cxx:97 [possible error] - Memory leak: o
- ./utils/fgadmin/src/fgadmin.cxx:118 [possible error] - Memory leak: o
- ./utils/fgadmin/src/fgadmin.cxx:138 [possible error] - Memory leak: o
- ./utils/fgadmin/src/fgadmin.h:20 [possible error] - Memory leak: FGAdminUI::main_window
- ./utils/fgadmin/src/fgadmin.h:25 [possible error] - Memory leak: FGAdminUI::quit_b
- ./utils/fgadmin/src/fgadmin.h:30 [possible error] - Memory leak: FGAdminUI::progress
- ./utils/fgadmin/src/fgadmin.h:31 [possible error] - Memory leak: FGAdminUI::source_b
- ./utils/fgadmin/src/fgadmin.h:36 [possible error] - Memory leak: FGAdminUI::source_text
- ./utils/fgadmin/src/fgadmin.h:37 [possible error] - Memory leak: FGAdminUI::install_box
- ./utils/fgadmin/src/fgadmin.h:38 [possible error] - Memory leak: FGAdminUI::install_b
- ./utils/fgadmin/src/fgadmin.h:43 [possible error] - Memory leak: FGAdminUI::source_sel_all
- ./utils/fgadmin/src/fgadmin.h:48 [possible error] - Memory leak: FGAdminUI::source_desel_all
- ./utils/fgadmin/src/fgadmin.h:53 [possible error] - Memory leak: FGAdminUI::dest_b
- ./utils/fgadmin/src/fgadmin.h:58 [possible error] - Memory leak: FGAdminUI::dest_text
- ./utils/fgadmin/src/fgadmin.h:59 [possible error] - Memory leak: FGAdminUI::remove_box
- ./utils/fgadmin/src/fgadmin.h:60 [possible error] - Memory leak: FGAdminUI::remove_b
- ./utils/fgadmin/src/fgadmin.h:65 [possible error] - Memory leak: FGAdminUI::dest_sel_all
- ./utils/fgadmin/src/fgadmin.h:70 [possible error] - Memory leak: FGAdminUI::dest_desel_all
- ./utils/fgadmin/src/untarka.c:313 [error] - Resource leak: f
- ./utils/js_server/js_server.cxx:83 [possible error] - Memory leak: js
- ./utils/js_server/js_server.cxx:83 [error] - Memory leak: ax
- ./utils/xmlgrep/xml.c:117 [possible error] - Resource leak: fd
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:48:17 +0000, based on results by cppcheck 1.41-modif