cppcheck analysis of sphinxsearch_0.9.8.1-2.dsc
- ./src/indexer.cpp:816 [error] - Possible null pointer dereference: pIndex - otherwise it is redundant to check if pIndex is null at line 828
- ./src/searchd.cpp:354 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/sphinxstd.h:217 [error] - Class ISphNoncopyable which is inherited by class CSphScopedPtr<ExtRanker_c> does not have a virtual destructor
- ./src/sphinxstd.h:217 [error] - Class ISphNoncopyable which is inherited by class CSphScopedPtr<CSphAutofile> does not have a virtual destructor
- ./src/sphinxstd.h:217 [error] - Class ISphNoncopyable which is inherited by class CSphScopedPtr<CSphDict> does not have a virtual destructor
- ./src/sphinxstd.h:217 [error] - Class ISphNoncopyable which is inherited by class CSphScopedPtr<ISphTokenizer> does not have a virtual destructor
- ./src/sphinxquery.cpp:192 [error] - Possible null pointer dereference: m_pCur - otherwise it is redundant to check if m_pCur is null at line 194
- ./src/tests.cpp:206 [error] - Possible null pointer dereference: pTokenizer - otherwise it is redundant to check if pTokenizer is null at line 281
- ./src/sphinxstd.h:217 [error] - Class ISphNoncopyable which is inherited by class CSphScopedPtr<ISphExpr> does not have a virtual destructor
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:02:32 +0000, based on results by cppcheck 1.41-modif