cppcheck analysis of inkscape_0.43-5.dsc
- ./src/desktop-style.cpp:461 [error] - Array 'd[3]' index 3 out of bounds
- ./src/desktop-style.cpp:463 [error] - Array 'd[3]' index 3 out of bounds
- ./src/display/nr-arena-item.cpp:1136 [error] - Common realloc mistake: "entries" nulled but not freed upon failure
- ./src/document.cpp:393 [error] - Memory leak: name
- ./src/dom/stylesheets.h:111 [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:503 [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:412 [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:464 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/extension/implementation/script.cpp:903 [error] - Mismatching allocation and deallocation: buffer
- ./src/extension/internal/ps.cpp:317 [error] - Memory leak: qn
- ./src/inkjar/jar.cpp:153 [error] - Memory leak: bytes
- ./src/inkjar/jar.cpp:217 [error] - Memory leak: bytes
- ./src/io/ftos.cpp:419 [error] - Memory leak: p
- ./src/jabber_whiteboard/pedroxmpp.cpp:4409 [error] - Resource leak: f
- ./src/jabber_whiteboard/pedroxmpp.cpp:2069 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/libcroco/cr-statement.c:637 [error] - Possible null pointer dereference: stringue - otherwise it is redundant to check if stringue is null at line 639
- ./src/libcroco/cr-tknzr.c:1598 [error] - Possible null pointer dereference: result - otherwise it is redundant to check if result is null at line 1601
- ./src/libnrtype/FontInstance.cpp:331 [error] - Mismatching allocation and deallocation: res
- ./src/libnrtype/Layout-TNG-Compute.cpp:912 [error] - Possible null pointer dereference: font
- ./src/libnrtype/TextWrapper.cpp:210 [error] - Possible null pointer dereference: pRun - otherwise it is redundant to check if pRun is null at line 211
- ./src/libnrtype/TextWrapper.cpp:112 [error] - Common realloc mistake: "uni32_codepoint" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:168 [error] - Common realloc mistake: "kern_x" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:172 [error] - Common realloc mistake: "kern_y" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:218 [error] - Common realloc mistake: "glyph_text" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:358 [error] - Common realloc mistake: "boxes" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:382 [error] - Common realloc mistake: "paras" nulled but not freed upon failure
- ./src/libnrtype/TextWrapper.cpp:575 [error] - Common realloc mistake: "bounds" nulled but not freed upon failure
- ./src/livarot/AVL.cpp:411 [error] - Possible null pointer dereference: e - otherwise it is redundant to check if e is null at line 437
- ./src/livarot/AVL.cpp:570 [error] - Possible null pointer dereference: e - otherwise it is redundant to check if e is null at line 596
- ./src/selection-chemistry.cpp:2106 [error] - Memory leak: filename
- ./src/streams-gzip.cpp:112 [error] - Memory leak: data
- ./src/style-test.cpp:402 [error] - Allocation with g_strdup_printf, utest__fail doesn't release it.
- ./src/style-test.cpp:524 [error] - Allocation with g_strdup_printf, utest__fail doesn't release it.
- ./src/trace/imagemap.cpp:89 [error] - Memory leak: me.pixels
- ./src/ui/dialog/whiteboard-sharewithuser.cpp:157 [error] - Same iterator is used with both children and _buddylistdata
- ./src/util/list-container-test.cpp:168 [error] - Invalid iterator: pos
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:05 +0000, based on results by cppcheck 1.46