cppcheck analysis of plib_1.8.5-5.dsc
- ./src/fnt/fntTXF.cxx:281 [error] - Memory leak: orig
- ./src/js/jsBSD.cxx:329 [error] - Resource leak: joyfile
- ./src/js/jsBSD.cxx:136 [error] - Mismatching allocation and deallocation: cp
- ./src/sl/slMODfile.cxx:599 [error] - Resource leak: fd
- ./src/ssg/ssgBranch.cxx:467 [error] - Mismatching allocation and deallocation: aiOld2NewIndex
- ./src/ssg/ssgLoad3ds.cxx:1024 [error] - Mismatching allocation and deallocation: mat_name
- ./src/ssg/ssgLoad3ds.cxx:1063 [error] - Mismatching allocation and deallocation: object_name
- ./src/ssg/ssgLoad3ds.cxx:1111 [error] - Mismatching allocation and deallocation: dummyname
- ./src/ssg/ssgLoad3ds.cxx:1171 [error] - Mismatching allocation and deallocation: objname
- ./src/ssg/ssgLoadATG.cxx:359 [error] - Dangerous usage of 'buffer' (strncpy doesn't always 0-terminate it)
- ./src/ssg/ssgLoadM.cxx:151 [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/ssgLoadX.cxx:223 [error] - Memory leak: sName
- ./src/ssg/ssgSave3ds.cxx:221 [error] - Memory leak: num_verts
- ./src/ssg/ssgSave3ds.cxx:244 [error] - Memory leak: num_verts
- ./src/ssg/ssgSave3ds.cxx:267 [error] - Memory leak: fmdata
- ./src/ssg/ssgSave3ds.cxx:307 [error] - Memory leak: matrix
- ./src/ssg/ssgSave3ds.cxx:383 [error] - Memory leak: amount
- ./src/ssg/ssgSave3ds.cxx:391 [error] - Memory leak: f
- ./src/ssg/ssgSave3ds.cxx:510 [error] - Memory leak: version
- ./src/ssg/ssgSaveIV.cxx:299 [error] - Resource leak: f
- ./src/ssgAux/ssgaScreenDump.cxx:107 [error] - Mismatching allocation and deallocation: row
- ./src/ssgAux/ssgaScreenDump.cxx:167 [error] - Mismatching allocation and deallocation: row
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 03:58:10 +0000, based on results by cppcheck 1.46