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.
- ./htfuzzy/Synonym.cc:104 [error] - Resource leak: fl
- ./htlib/HtRegex.cc:60 [error] - Mismatching allocation and deallocation: buf
- ./htlib/md5.cc:40 [error] - Mismatching allocation and deallocation: td
- ./htnet/HtCookieInFileJar.cc:109 [error] - Resource leak: f
- ./htword/WordBitCompress.cc:707 [error] - Possible null pointer dereference: res
- ./htword/WordBitCompress.cc:902 [error] - Possible null pointer dereference: res
- ./htword/WordBitCompress.h:129 [error] - Null pointer dereference
- ./htword/WordBitCompress.h:130 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:85 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:313 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:315 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:317 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:370 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:372 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:374 [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:816 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:827 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:854 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:892 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:899 [error] - Null pointer dereference
- ./htword/WordBitCompress.cc:581 [error] - Null pointer dereference
- ./htword/WordKey.h:174 [error] - Null pointer dereference
- ./htword/WordDBCache.cc:118 [error] - Memory leak: heap
- ./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:107 [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:354 [error] - Null pointer dereference
- ./htword/WordDBPage.h:360 [error] - Null pointer dereference
- ./htword/WordDBPage.h:364 [error] - Null pointer dereference
- ./htword/WordDBPage.h:374 [error] - Null pointer dereference
- ./htword/WordDBPage.h:388 [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:299 [error] - Possible null pointer dereference: rnum_pos
- ./htword/WordDBPage.cc:498 [error] - Possible null pointer dereference: nums_pos
- ./htword/WordDBPage.cc:700 [error] - Possible null pointer dereference: cnindexe2
- ./htword/WordDBPage.cc:188 [error] - Memory leak: rnum_sizes
- ./htword/WordDBPage.cc:106 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:112 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:144 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:161 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:173 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:179 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:182 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:296 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:320 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:335 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:342 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:365 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:398 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:444 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:460 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:494 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:496 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:583 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:699 [error] - Null pointer dereference
- ./htword/WordDBPage.cc:844 [error] - Null pointer dereference
- ./htword/WordListMulti.cc:216 [error] - Memory leak: heap
- ./test/txt2mifluz.cc:111 [error] - Memory leak: keys
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:14:47 +0000, based on results by cppcheck 1.46