cppcheck analysis of scribus-ng_1.3.5.dfsg+svn20091030-1.dsc
- ./scribus/plugins/aiimplugin/importai.cpp:483 [error] - Resource leak: source
- ./scribus/plugins/aiimplugin/importai.cpp:483 [error] - Resource leak: dest
- ./scribus/plugins/gettext/pdbim/pdbim.cpp:103 [error] - Resource leak: m_pdfp
- ./scribus/plugins/scriptplugin/scripter2/scripter2_qttype_qstring.cpp:121 [error] - instance of "QString_from_python_str_or_unicode" object destroyed immediately
- ./scribus/plugins/scriptplugin/scripter2/scripter2_qttype_qstring.cpp:105 [error] - Possible null pointer dereference: value
- ./scribus/plugins/svgimplugin/svgplugin.cpp:1346 [style] - The iterator incrementing is suspicious - it is incremented at line 1346 and then at line 1335 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:115 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:116 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:120 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:122 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:295 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:298 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/path-intersection.cpp:300 [error] - When i==p.size(), p[i] is out of bounds
- ./scribus/plugins/tools/2geomtools/lib2geom/quadtree.cpp:106 [error] - Possible null pointer dereference: q
- ./scribus/plugins/tools/2geomtools/lib2geom/quadtree.cpp:111 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./scribus/plugins/tools/2geomtools/lib2geom/transforms.h:88 [error] - instance of "Rotate" object destroyed immediately
- ./scribus/scimgdataloader_tiff.cpp:912 [error] - Uninitialized variable: numChannels
- ./scribus/scribusdoc.cpp:982 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./scribus/stencilreader.cpp:306 [style] - The iterator incrementing is suspicious - it is incremented at line 306 and then at line 294 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./scribus/stencilreader.cpp:568 [style] - The iterator incrementing is suspicious - it is incremented at line 568 and then at line 556 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./scribus/unzip.c:523 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 524
- ./scribus/unzip.c:1101 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 1103
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, 20 Dec 2010 21:18:33 +0000, based on results by cppcheck 1.46