cppcheck analysis of xapian-core_1.2.3-2.dsc
- ./api/omqueryinternal.cc:802 [style] - The iterator incrementing is suspicious - it is incremented at line 802 and then at line 800 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.
- ./backends/brass/brass_table.cc:1352 [error] - Uninitialized variable: bases
- ./backends/chert/chert_table.cc:1354 [error] - Uninitialized variable: bases
- ./backends/flint/flint_table.cc:1343 [error] - Uninitialized variable: bases
- ./languages/steminternal.cc:78 [error] - Memory leak: mem
- ./queryparser/lemon.c:1385 [error] - Common realloc mistake: "azDefine" nulled but not freed upon failure
- ./queryparser/lemon.c:3279 [error] - Common realloc mistake: "z" nulled but not freed upon failure
- ./queryparser/lemon.c:2363 [error] - Memory leak: sp
- ./queryparser/lemon.c:2562 [error] - Resource leak: fp
- ./weight/weightinternal.cc:107 [style] - The iterator incrementing is suspicious - it is incremented at line 107 and then at line 99 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:20:10 +0000, based on results by cppcheck 1.46