cppcheck analysis of hydra_6.2-1.dsc
- ./hydra-http-form.c:157 [error] - Dangerous usage of 'str' (strncpy doesn't always 0-terminate it)
- ./hydra-http-form.c:177 [error] - Dangerous usage of 'str' (strncpy doesn't always 0-terminate it)
- ./hydra-http.c:252 [error] - Memory leak: miscptr
- ./hydra-imap.c:107 [error] - Undefined behaviour: buffer 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.
- ./hydra-imap.c:180 [error] - Undefined behaviour: buffer 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.
- ./hydra-mod.c:622 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./hydra-mysql.c:66 [error] - Common realloc mistake: "buff" nulled but not freed upon failure
- ./hydra-ncp.c:66 [error] - Memory leak: session
- ./hydra-nntp.c:108 [error] - Undefined behaviour: buffer 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.
- ./hydra-nntp.c:142 [error] - Undefined behaviour: buffer 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.
- ./hydra-oracle.c:198 [error] - Invalid number of character ({) when these macros are defined: 'LIBORACLE'.
- ./hydra-pop3.c:129 [error] - Undefined behaviour: buffer 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.
- ./hydra-pop3.c:202 [error] - Undefined behaviour: buffer 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.
- ./hydra-smtp.c:71 [error] - Undefined behaviour: buffer 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.
- ./hydra-smtp.c:106 [error] - Undefined behaviour: buffer 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.
- ./hydra.c:1786 [error] - Allocation with fopen, if doesn't release it.
- ./pw-inspector.c:166 [error] - Resource leak: in
- ./pw-inspector.c:166 [error] - Resource leak: out
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 15 Apr 2011 06:58:07 +0000, based on results by cppcheck 1.46