cppcheck analysis of scribus-ng_1.4.0.dfsg~rc2-1.dsc
- ./scribus/plugins/gettext/pdbim/pdbim.cpp:103 [error] - Resource leak: m_pdfp
- ./scribus/plugins/import/ai/importai.cpp:486 [error] - Resource leak: source
- ./scribus/plugins/import/ai/importai.cpp:486 [error] - Resource leak: dest
- ./scribus/plugins/import/svg/svgplugin.cpp:1367 [style] - The iterator incrementing is suspicious - it is incremented at line 1367 and then at line 1356 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/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/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:911 [error] - Uninitialized variable: numChannels
- ./scribus/scribusdoc.cpp:970 [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 Fri, 25 Mar 2011 06:58:12 +0000, based on results by cppcheck 1.46