cppcheck analysis of htdig_3.2.0b6-9.1.dsc
- ./db/lock_deadlock.c:635 [error] - Undefined behaviour: msgbuf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./db/lock_deadlock.c:638 [error] - Undefined behaviour: msgbuf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./htcommon/DocumentDB.cc:588 [possible error] - Memory leak: list
- ./htfuzzy/Synonym.cc:104 [error] - Resource leak: fl
- ./htlib/HtRegex.cc:60 [error] - Mismatching allocation and deallocation: buf
- ./htlib/HtRegexList.cc:93 [possible error] - Memory leak: limit
- ./htlib/md5.cc:40 [error] - Mismatching allocation and deallocation: td
- ./htsearch/DocMatch.h:95 [possible error] - Memory leak: DocMatch::locations
- ./htword/WordBitCompress.cc:168 [possible error] - Memory leak: VlengthCoder::intervals
- ./htword/WordBitCompress.cc:169 [possible error] - Memory leak: VlengthCoder::intervalsizes
- ./htword/WordBitCompress.cc:170 [possible error] - Memory leak: VlengthCoder::lboundaries
- ./htword/WordBitCompress.h:129 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:85 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:517 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:706 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:716 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:750 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:809 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:892 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:581 [error] - Null pointer dereference
- ./htword/WordCursor.h:394 [possible error] - Memory leak: WordCursor::collectRes
- ./htword/WordKey.h:174 [error] - Null pointer dereference
- ./htword/WordDBCache.cc:208 [error] - Resource leak: ftmp
- ./htword/WordDBCache.cc:208 [error] - Resource leak: fb
- ./htword/WordDBCache.cc:208 [error] - Memory leak: buffertmp
- ./htword/WordDBCache.cc:208 [error] - Memory leak: buffera
- ./htword/WordDBCache.cc:208 [error] - Memory leak: bufferb
- ./htword/WordDBCache.cc:282 [error] - Memory leak: buffer
- ./htword/WordDBCache.cc:324 [error] - Resource leak: fp
- ./htword/WordDBPage.h:103 [error] - Null pointer dereference
- ./htword/WordDBPage.h:124 [error] - Null pointer dereference
- ./htword/WordDBPage.h:149 [error] - Null pointer dereference
- ./htword/WordDBPage.h:155 [error] - Null pointer dereference
- ./htword/WordDBPage.h:166 [error] - Null pointer dereference
- ./htword/WordDBPage.h:175 [error] - Null pointer dereference
- ./htword/WordDBPage.h:182 [error] - Null pointer dereference
- ./htword/WordDBPage.h:188 [error] - Null pointer dereference
- ./htword/WordDBPage.h:194 [error] - Null pointer dereference
- ./htword/WordDBPage.h:216 [error] - Null pointer dereference
- ./htword/WordDBPage.h:227 [error] - Null pointer dereference
- ./htword/WordDBPage.h:242 [error] - Null pointer dereference
- ./htword/WordDBPage.h:471 [error] - Null pointer dereference
- ./htword/WordDBPage.h:478 [error] - Null pointer dereference
- ./htword/WordDBPage.h:485 [error] - Null pointer dereference
- ./htword/WordDBPage.h:492 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:188 [possible error] - Memory leak: rnum_sizes
- ./htword/WordDBPage.cc:173 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:296 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:699 [error] - Null pointer dereference
- ./libhtdig/libhtdig_htsearch.cc:346 [possible error] - Memory leak: searchWordsPattern
- ./test/url.cc:146 [possible error] - Resource leak: urllist
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 05:49:12 +0000, based on results by cppcheck 1.41-modif