cppcheck analysis of plib_1.8.5-5.dsc
- ./src/fnt/fntTXF.cxx:281 [error] - Memory leak: orig
- ./src/js/jsBSD.cxx:136 [error] - Mismatching allocation and deallocation: cp
- ./src/js/jsBSD.cxx:329 [error] - Resource leak: joyfile
- ./src/psl/psl.h:296 [possible error] - Memory leak: pslProgram::code
- ./src/psl/psl.h:298 [possible error] - Memory leak: pslProgram::compiler
- ./src/puAux/puAux.h:532 [possible error] - Memory leak: puaBiSliderWithEnds::slider
- ./src/puAux/puAux.h:533 [possible error] - Memory leak: puaBiSliderWithEnds::max_box
- ./src/puAux/puAux.h:534 [possible error] - Memory leak: puaBiSliderWithEnds::min_box
- ./src/puAux/puAux.h:843 [possible error] - Memory leak: puaChooser::popup_menu
- ./src/puAux/puAux.h:223 [possible error] - Memory leak: puaComboBox::input
- ./src/puAux/puAux.h:224 [possible error] - Memory leak: puaComboBox::arrow_btn
- ./src/puAux/puAux.h:225 [possible error] - Memory leak: puaComboBox::popup_menu
- ./src/puAux/puAux.h:82 [possible error] - Memory leak: puaFileSelector::frame
- ./src/puAux/puAux.h:83 [possible error] - Memory leak: puaFileSelector::list_box
- ./src/puAux/puAux.h:84 [possible error] - Memory leak: puaFileSelector::slider
- ./src/puAux/puAux.h:85 [possible error] - Memory leak: puaFileSelector::cancel_button
- ./src/puAux/puAux.h:86 [possible error] - Memory leak: puaFileSelector::ok_button
- ./src/puAux/puAux.h:87 [possible error] - Memory leak: puaFileSelector::input
- ./src/puAux/puAux.h:88 [possible error] - Memory leak: puaFileSelector::up_arrow
- ./src/puAux/puAux.h:89 [possible error] - Memory leak: puaFileSelector::down_arrow
- ./src/puAux/puAux.h:90 [possible error] - Memory leak: puaFileSelector::fastup_arrow
- ./src/puAux/puAux.h:91 [possible error] - Memory leak: puaFileSelector::fastdown_arrow
- ./src/puAux/puAux.h:149 [possible error] - Memory leak: puaLargeInput::frame
- ./src/puAux/puAux.h:151 [possible error] - Memory leak: puaLargeInput::bottom_slider
- ./src/puAux/puAux.h:152 [possible error] - Memory leak: puaLargeInput::right_slider
- ./src/puAux/puAux.h:892 [possible error] - Memory leak: puaList::_frame
- ./src/puAux/puAux.h:893 [possible error] - Memory leak: puaList::_slider
- ./src/puAux/puAux.h:894 [possible error] - Memory leak: puaList::_up_arrow
- ./src/puAux/puAux.h:895 [possible error] - Memory leak: puaList::_down_arrow
- ./src/puAux/puAux.h:902 [possible error] - Memory leak: puaList::_list_box
- ./src/puAux/puAux.h:339 [possible error] - Memory leak: puaSelectBox::input
- ./src/puAux/puAux.h:340 [possible error] - Memory leak: puaSelectBox::down_arrow
- ./src/puAux/puAux.h:341 [possible error] - Memory leak: puaSelectBox::up_arrow
- ./src/puAux/puAux.h:608 [possible error] - Memory leak: puaSliderWithInput::slider
- ./src/puAux/puAux.h:609 [possible error] - Memory leak: puaSliderWithInput::input_box
- ./src/puAux/puAux.h:671 [possible error] - Memory leak: puaSpinBox::input_box
- ./src/puAux/puAux.h:672 [possible error] - Memory leak: puaSpinBox::up_arrow
- ./src/puAux/puAux.h:673 [possible error] - Memory leak: puaSpinBox::down_arrow
- ./src/puAux/puAuxVerticalMenu.cxx:69 [possible error] - Memory leak: b
- ./src/puAux/puAuxVerticalMenu.cxx:86 [possible error] - Memory leak: b
- ./src/pui/puMenuBar.cxx:140 [possible error] - Memory leak: b
- ./src/sl/slMODfile.cxx:599 [error] - Resource leak: fd
- ./src/sl/sl.h:176 [error] - Class slDSP which is inherited by class slScheduler does not have a virtual destructor
- ./src/ssg/ssg.h:1426 [possible error] - Memory leak: ssgVtxTable::texcoords
- ./src/ssg/ssgBranch.cxx:467 [error] - Mismatching allocation and deallocation: aiOld2NewIndex
- ./src/ssg/ssgLoadATG.cxx:392 [possible error] - Memory leak: sca
- ./src/ssg/ssgLoadIV.cxx:317 [possible error] - Memory leak: ss
- ./src/ssg/ssgLoadVRML.h:41 [possible error] - Memory leak: _nodeIndex::nodeList
- ./src/ssg/ssgLoadM.cxx:151 [possible error] - Resource leak: model_file
- ./src/ssg/ssgLoadMDL.cxx:389 [error] - Undefined behaviour: tsA 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/ssg/ssgLoadOBJ.cxx:223 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/ssg/ssgLoadOBJ.cxx:224 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/ssg/ssgLoadVRML1.cxx:317 [possible error] - Memory leak: indexArray
- ./src/ssg/ssgLoadVRML1.cxx:371 [possible error] - Memory leak: currentVertices
- ./src/ssg/ssgLoadVRML1.cxx:426 [possible error] - Memory leak: currentTextureCoordinates
- ./src/ssg/ssgLoadVRML1.cxx:556 [possible error] - Memory leak: ss
- ./src/ssg/ssgLoadVRML1.cxx:679 [possible error] - Memory leak: currentTransform
- ./src/ssg/ssgLoadVRML1.cxx:706 [possible error] - Memory leak: currentTransform
- ./src/ssg/ssgLoadVRML1.cxx:728 [possible error] - Memory leak: currentTransform
- ./src/ssg/ssgLoadVRML1.cxx:753 [possible error] - Memory leak: currentTransform
- ./src/ssg/ssgLoadVRML1.cxx:900 [possible error] - Memory leak: currentPerFaceAndVertexTextureCoordinateList
- ./src/ssg/ssgLoadVRML1.cxx:916 [possible error] - Memory leak: currentPerFaceAndVertexTextureCoordinateList
- ./src/ssg/ssgLoaderWriterStuff.cxx:475 [possible error] - Memory leak: oneFace
- ./src/ssg/ssgLoaderWriterStuff.cxx:814 [possible error] - Memory leak: newVertices
- ./src/ssg/ssgLoaderWriterStuff.cxx:814 [possible error] - Memory leak: newFaces
- ./src/ssg/ssgLoaderWriterStuff.cxx:814 [possible error] - Memory leak: oldVertexIndexToNewVertexIndex
- ./src/ssg/ssgLoaderWriterStuff.cxx:814 [possible error] - Memory leak: newPerFaceAndVertexTextureCoordinate2Lists
- ./src/ssg/ssgLoaderWriterStuff.cxx:814 [possible error] - Memory leak: newPerVertexTextureCoordinates2
- ./src/ssg/ssgSaveASC.cxx:108 [possible error] - Memory leak: tsA
- ./src/ssg/ssgSaveATG.cxx:159 [possible error] - Memory leak: na
- ./src/ssg/ssgSaveIV.cxx:299 [error] - Resource leak: f
- ./src/ssg/ssg.h:1321 [possible error] - Memory leak: ssgVTable::vertices
- ./src/ssg/ssg.h:1321 [possible error] - Memory leak: ssgVTable::v_index
- ./src/ssg/ssg.h:1322 [possible error] - Memory leak: ssgVTable::normals
- ./src/ssg/ssg.h:1322 [possible error] - Memory leak: ssgVTable::n_index
- ./src/ssg/ssg.h:1323 [possible error] - Memory leak: ssgVTable::texcoords
- ./src/ssg/ssg.h:1323 [possible error] - Memory leak: ssgVTable::t_index
- ./src/ssg/ssg.h:1324 [possible error] - Memory leak: ssgVTable::colours
- ./src/ssg/ssg.h:1324 [possible error] - Memory leak: ssgVTable::c_index
- ./src/ssg/ssgVtxArray.cxx:263 [possible error] - Memory leak: newNL
- ./src/ssg/ssgVtxArray.cxx:263 [possible error] - Memory leak: newTL
- ./src/ssg/ssgVtxArray.cxx:263 [possible error] - Memory leak: newCL
- ./src/ssgAux/ssgaSky.h:133 [possible error] - Memory leak: ssgaCloudLayer::layer_transform
- ./src/ssgAux/ssgaFire.cxx:54 [possible error] - Mismatching allocation and deallocation: ssgaFire::colourTable
- ./src/ssgAux/ssgaFire.cxx:55 [possible error] - Mismatching allocation and deallocation: ssgaFire::sizeTable
- ./src/ssgAux/ssgaLensFlare.h:27 [possible error] - Memory leak: ssgaLensFlare::vt
- ./src/ssgAux/ssgaLensFlare.h:28 [possible error] - Memory leak: ssgaLensFlare::v0
- ./src/ssgAux/ssgaLensFlare.h:29 [possible error] - Memory leak: ssgaLensFlare::n0
- ./src/ssgAux/ssgaLensFlare.h:30 [possible error] - Memory leak: ssgaLensFlare::c0
- ./src/ssgAux/ssgaLensFlare.h:31 [possible error] - Memory leak: ssgaLensFlare::t0
- ./src/ssgAux/ssgaScreenDump.cxx:107 [error] - Mismatching allocation and deallocation: row
- ./src/ssgAux/ssgaScreenDump.cxx:167 [error] - Mismatching allocation and deallocation: row
- ./src/ssgAux/ssgaSky.h:288 [possible error] - Memory leak: ssgaSky::pre_selector
- ./src/ssgAux/ssgaSky.h:288 [possible error] - Memory leak: ssgaSky::post_selector
- ./src/ssgAux/ssgaSky.h:289 [possible error] - Memory leak: ssgaSky::pre_transform
- ./src/ssgAux/ssgaSky.h:289 [possible error] - Memory leak: ssgaSky::post_transform
- ./src/ssgAux/ssgaSky.h:290 [possible error] - Memory leak: ssgaSky::bodies_transform
- ./src/ssgAux/ssgaSky.h:290 [possible error] - Memory leak: ssgaSky::stars_transform
- ./src/util/ul.h:793 [possible error] - Memory leak: ulLinkedList::head
- ./src/util/ul.h:794 [possible error] - Memory leak: ulLinkedList::tail
- ./src/util/ulRTTI.h:158 [error] - Class ulRTTItypeid which is inherited by class ulRTTIdyntypeid does not have a virtual destructor
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 06:00:41 +0000, based on results by cppcheck 1.41-modif