cppcheck analysis of logtool_1.2.8-8.dsc
- ./src/mod_snort.c:59 [error] - Undefined behaviour: tmp_str 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.
- ./src/mod_snort.c:87 [error] - Undefined behaviour: tmp_str 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.
- ./src/parse_pmsg.c:105 [error] - Undefined behaviour: t_pmsg 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.
- ./src/parse_pmsg.c:110 [error] - Undefined behaviour: t_pmsg 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.
- ./src/regex.c:99 [error] - Resource leak: dir
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 01:58:09 +0000, based on results by cppcheck 1.46