cppcheck analysis of meshlab_1.3.0a+dfsg1-1.dsc
- ./meshlab/src/common/GLLogStream.cpp:54 [error] - Resource leak: fp
- ./meshlab/src/common/interfaces.h:83 [error] - Passing value 0 to log() leads to undefined result
- ./meshlab/src/external/qtsoap-2.7_1/src/qtsoap.cpp:1193 [error] - Possible null pointer dereference: ar
- ./meshlab/src/external/structuresynth/ssynth/StructureSynth/Model/Action.h:39 [error] - Memory leak: Action::set
- ./meshlab/src/fgt/editpaint/editpaint.cpp:1220 [error] - Mismatching allocation and deallocation: proj_points
- ./meshlab/src/fgt/filter_qhull/qhull_tools.cpp:469 [error] - Memory leak: copypoints
- ./meshlab/src/fgt/filter_qhull/qhull_tools.cpp:365 [error] - Memory leak: sp2
- ./meshlab/src/fgt/filter_qhull/qhull_tools.cpp:864 [error] - Memory leak: viewpoint
- ./meshlab/src/fgt/filter_qhull/qhull_tools.cpp:864 [error] - Memory leak: points
- ./meshlab/src/fgt/filter_qhull/qhull_tools.cpp:864 [error] - Memory leak: dist
- ./meshlab/src/fgt/render_rfx/plugins/rfx_dds.cpp:635 [error] - Mismatching allocation and deallocation: tmp
- ./meshlab/src/meshlab/alnParser.h:117 [error] - Resource leak: stream
- ./meshlab/src/meshlabplugins/edit_phototexturing/src/Tsai/TsaiCameraCalibration.cpp:363 [error] - Memory leak: done
- ./meshlab/src/meshlabplugins/editslice/editslice.cpp:171 [error] - Uninitialized variable: avg_length
- ./meshlab/src/meshlabplugins/filter_zippering/filter_zippering.h:234 [error] - Uninitialized variable: dist
- ./meshlab/src/meshlabplugins/filter_zippering/filter_zippering.h:235 [error] - Uninitialized variable: dist
- ./meshlab/src/meshlabplugins/filter_zippering/filter_zippering.cpp:466 [error] - Uninitialized variable: min_dist_s
- ./meshlab/src/meshlabplugins/filter_zippering/filter_zippering.cpp:467 [error] - Uninitialized variable: min_dist_e
- ./meshlab/src/meshlabplugins/io_tri/io_tri.cpp:271 [error] - Resource leak: fp
- ./meshlab/src/meshlabplugins/io_x3d/vrml/Scanner.cpp:632 [error] - Data is allocated but not initialized: newHeap
- ./meshlab/src/meshlabserver/mainserver.cpp:519 [error] - Resource leak: logfp
- ./vcglib/apps/sample/trimesh_intersection/trimesh_intersection.cpp:108 [error] - Uninitialized variable: avg_length
- ./vcglib/wrap/gui/trackmode.cpp:373 [error] - Uninitialized variable: distance
- ./vcglib/wrap/gui/trackmode.cpp:375 [error] - Uninitialized variable: distance
- ./vcglib/wrap/gui/trackmode.cpp:536 [error] - Uninitialized variable: dist
- ./vcglib/wrap/gui/trackmode.cpp:693 [error] - Uninitialized variable: dist
- ./vcglib/wrap/gui/trackmode.cpp:766 [error] - Uninitialized variable: distance
- ./vcglib/wrap/gui/trackmode.cpp:767 [error] - Uninitialized variable: distance
- ./vcglib/wrap/ply/plylib.cpp:3663 [error] - Undefined behaviour: output 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.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 04 Apr 2011 06:58:10 +0000, based on results by cppcheck 1.46