cppcheck analysis of sarg_2.2.5-2.dsc
- ./email.c:157 [error] - Resource leak: fp_top1
- ./email.c:322 [error] - Resource leak: fp_top3
- ./index.c:232 [error] - Resource leak: fp_tmp2
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ARPA_INET_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_CTYPE_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_DIRENT_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ERRNO_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_FOPEN64'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_GDFONTG_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_GDFONTL_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_GDFONTMB_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_GDFONTS_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_GDFONTT_H'.
- ./log.c:1431 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_GD_H'.
- ./realtime.c:75 [error] - Buffer access out-of-bounds: buf
- ./smartfilter.c:195 [error] - Resource leak: fp_in
- ./squidguard_log.c:73 [error] - Common realloc mistake: "files_done" nulled but not freed upon failure
- ./squidguard_log.c:89 [error] - Resource leak: fp_in
- ./topuser.c:233 [error] - Resource leak: fp_top1
- ./useragent.c:104 [error] - snprintf size is out of bounds
- ./useragent.c:198 [error] - Deallocating a deallocated pointer: fp_ou
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:18:30 +0000, based on results by cppcheck 1.46