cppcheck analysis of jd_2.8.1-110312-1.dsc
- ./src/article/drawareabase.cpp:3455 [style] - The iterator incrementing is suspicious - it is incremented at line 3455 and then at line 3441 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.
- ./src/board/boardviewnext.cpp:144 [error] - After insert, the iterator 'it_next_items' may be invalid
- ./src/board/boardviewnext.cpp:145 [error] - After insert, the iterator 'it_next_items' may be invalid
- ./src/board/boardviewnext.cpp:148 [error] - After insert, the iterator 'it_next_items' may be invalid
- ./src/board/boardviewnext.cpp:150 [error] - After insert, the iterator 'it_next_items' may be invalid
- ./src/dbimg/imgroot.cpp:265 [error] - Memory leak: img
- ./src/dbtree/root.cpp:1344 [error] - Dereferenced iterator 'it_move' has been erased
- ./src/xml/dom.cpp:239 [error] - Memory leak: node
- ./src/xml/dom.cpp:471 [error] - Memory leak: node
- ./src/xml/dom.cpp:781 [error] - Invalid iterator: it
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, 28 Mar 2011 06:58:12 +0000, based on results by cppcheck 1.46