cppcheck analysis of inkscape_0.47.0-2.dsc
- ./buildtool.cpp:5217 [error] - Resource leak: srcf
- ./buildtool.cpp:9768 [error] - Resource leak: f
- ./buildtool.cpp:6957 [error] - Resource leak: f
- ./src/2geom/path-intersection.cpp:122 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/path-intersection.cpp:123 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/path-intersection.cpp:127 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/path-intersection.cpp:129 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/path-intersection.cpp:489 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/path-intersection.cpp:490 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/path-intersection.cpp:492 [error] - When i==p.size(), p[i] is out of bounds
- ./src/2geom/quadtree.cpp:234 [error] - Possible null pointer dereference: q
- ./src/bind/javabind.cpp:1060 [error] - Mismatching allocation and deallocation: jvals
- ./src/bind/javabind.cpp:1181 [error] - Mismatching allocation and deallocation: jvals
- ./src/dom/stylesheets.h:128 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/dom/css.h:643 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/dom/events.h:519 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/dom/events.h:578 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/extension/param/parameter.h:85 [error] - instance of "Parameter" object destroyed immediately
- ./src/extension/internal/emf-win32-inout.cpp:130 [error] - Memory leak: oldoutput
- ./src/extension/internal/odf.cpp:798 [error] - Mismatching allocation and deallocation: e
- ./src/extension/internal/odf.cpp:799 [error] - Mismatching allocation and deallocation: work
- ./src/extension/internal/pdfinput/svg-builder.cpp:1539 [error] - Mismatching allocation and deallocation: buffer
- ./src/extension/internal/pdfinput/svg-builder.cpp:1578 [error] - Mismatching allocation and deallocation: buffer
- ./src/inkjar/jar.cpp:153 [error] - Memory leak: bytes
- ./src/inkjar/jar.cpp:217 [error] - Memory leak: bytes
- ./src/io/ftos.cpp:416 [error] - Memory leak: p
- ./src/libcroco/cr-statement.c:636 [error] - Possible null pointer dereference: stringue - otherwise it is redundant to check if stringue is null at line 638
- ./src/libcroco/cr-tknzr.c:1597 [error] - Possible null pointer dereference: result - otherwise it is redundant to check if result is null at line 1600
- ./src/libnrtype/FontInstance.cpp:331 [error] - Mismatching allocation and deallocation: res
- ./src/libnrtype/TextWrapper.cpp:209 [error] - Possible null pointer dereference: pRun - otherwise it is redundant to check if pRun is null at line 210
- ./src/libnrtype/TextWrapper.cpp:111 [error] - Common realloc mistake: "uni32_codepoint" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:167 [error] - Common realloc mistake: "kern_x" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:171 [error] - Common realloc mistake: "kern_y" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:217 [error] - Common realloc mistake: "glyph_text" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:357 [error] - Common realloc mistake: "boxes" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:381 [error] - Common realloc mistake: "paras" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:574 [error] - Common realloc mistake: "bounds" nulled but not freed upon failure
- ./src/livarot/AVL.cpp:410 [error] - Possible null pointer dereference: e - otherwise it is redundant to check if e is null at line 436
- ./src/livarot/AVL.cpp:569 [error] - Possible null pointer dereference: e - otherwise it is redundant to check if e is null at line 595
- ./src/livarot/Shape.cpp:134 [error] - Common realloc mistake: "qrsData" nulled but not freed upon failure
- ./src/trace/imagemap.cpp:85 [error] - Memory leak: me.pixels
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:14:54 +0000, based on results by cppcheck 1.46