cppcheck analysis of ht_2.0.18-1.dsc
- ./cp-demangle.c:3433 [error] - instance of "d_print_mod" object destroyed immediately
- ./cp-demangle.c:3646 [error] - instance of "d_print_mod" object destroyed immediately
- ./cp-demangle.c:3761 [error] - instance of "d_print_mod" object destroyed immediately
- ./cp-demangle.c:4184 [error] - instance of "d_print_mod" object destroyed immediately
- ./data.cc:2595 [error] - Common realloc mistake: "mSet" nulled but not freed upon failure
- ./htreg.cc:791 [error] - Possible null pointer dereference: dir - otherwise it is redundant to check if dir is null at line 792
- ./htxexhead.cc:146 [error] - Memory leak: s
- ./htxexhead.cc:189 [error] - Memory leak: s
- ./htxexhead.cc:215 [error] - Memory leak: s
- ./htxexhead.cc:233 [error] - Memory leak: s
- ./io/djgpp/htsys.cc:132 [error] - Dangerous usage of 'fn' (strncpy doesn't always 0-terminate it)
- ./io/posix/syskeyb.cc:484 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./stream.cc:1504 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./textedit.cc:192 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:276 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:358 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:457 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./textedit.cc:466 [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 Tue, 21 Dec 2010 09:58:05 +0000, based on results by cppcheck 1.46