cppcheck analysis of ht_0.9.1-4.dsc
- ./asm/javadis.cc:423 [error] - Buffer access out-of-bounds: insn.op
- ./classread.cc:130 [error] - Memory leak: cp
- ./classread.cc:230 [error] - Memory leak: shared
- ./cp-demangle.c:2792 [error] - instance of "d_print_mod" object destroyed immediately
- ./cp-demangle.c:3004 [error] - instance of "d_print_mod" object destroyed immediately
- ./cp-demangle.c:3112 [error] - instance of "d_print_mod" object destroyed immediately
- ./cp-demangle.c:3465 [error] - instance of "d_print_mod" object destroyed immediately
- ./htdialog.cc:962 [error] - Mismatching allocation and deallocation: buf
- ./htdisasm.cc:117 [error] - Buffer access out-of-bounds
- ./htformat.cc:2926 [error] - Array 'buf[4]' index 4 out of bounds
- ./htformat.cc:2926 [error] - Array 'buf[4]' index 5 out of bounds
- ./htformat.cc:2926 [error] - Array 'buf[4]' index 6 out of bounds
- ./htformat.cc:2926 [error] - Array 'buf[4]' index 7 out of bounds
- ./htformat.cc:2928 [error] - Array 'buf[4]' index 7 out of bounds
- ./htformat.cc:2928 [error] - Array 'buf[4]' index 6 out of bounds
- ./htformat.cc:2928 [error] - Array 'buf[4]' index 5 out of bounds
- ./htformat.cc:2928 [error] - Array 'buf[4]' index 4 out of bounds
- ./htformat.cc:979 [error] - Mismatching allocation and deallocation: data
- ./htreg.cc:572 [error] - Possible null pointer dereference: dir - otherwise it is redundant to check if dir is null at line 573
- ./htxbeimp.cc:498 [error] - Memory leak: thunktable
- ./io/djgpp/htsys.cc:132 [error] - Dangerous usage of 'fn' (strncpy doesn't always 0-terminate it)
- ./io/posix/htsys.cc:127 [error] - Resource leak: fd
- ./io/win32/htsys.cc:129 [error] - Dangerous usage of 'fn' (strncpy doesn't always 0-terminate it)
- ./srt/srt_x86.cc:538 [error] - Memory leak: v
- ./srt/srt_x86.cc:553 [error] - Memory leak: v
- ./textedit.cc:196 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:280 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:362 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:461 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:470 [error] - Common realloc mistake: "string2" nulled but not freed upon failure
- ./tools/bin2c.c:172 [error] - Resource leak: in
- ./tools/bin2c.c:172 [error] - Resource leak: out
- ./tools/bin2c.c:173 [error] - Resource leak: outh
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