cppcheck analysis of knights_0.6-8.2.dsc
- ./knights/io_engine.cpp:232 [error] - Mismatching allocation and deallocation: newBuff
- ./knights/resource.cpp:299 [style] - The iterator incrementing is suspicious - it is incremented at line 299 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.
- ./knights/resource.cpp:311 [style] - The iterator incrementing is suspicious - it is incremented at line 311 and then at line 306 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.
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:15:09 +0000, based on results by cppcheck 1.46