cppcheck analysis of lusca_0.1~svn14809-1.dsc
- ./app/coss_rebuild/coss_build_dir.c:122 [error] - Resource leak: fd
- ./app/coss_rebuild/coss_build_dir.c:112 [error] - Memory leak: buf
- ./app/ufs_rebuild/ufs_build_log.c:143 [error] - Memory leak: rbuf
- ./app/ufs_rebuild/ufs_rebuild.c:111 [error] - Memory leak: wbuf
- ./helpers/basic_auth/MSNT/confload.c:93 [error] - Resource leak: ConfigFile
- ./helpers/basic_auth/MSNT/rfcnb-io.c:69 [error] - Uninitialized variable: x
- ./helpers/basic_auth/mswin_sspi/valid.c:142 [error] - Dangerous usage of 'NTDomain' (strncpy doesn't always 0-terminate it)
- ./helpers/basic_auth/squid_radius_auth/squid_rad_auth.c:267 [error] - Resource leak: cf
- ./helpers/external_acl/mswin_ad_group/mswin_check_ad_group.c:263 [error] - Dangerous usage of 'NTDomain' (strncpy doesn't always 0-terminate it)
- ./helpers/external_acl/mswin_lm_group/win32_check_group.c:351 [error] - Dangerous usage of 'NTDomain' (strncpy doesn't always 0-terminate it)
- ./helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c:117 [error] - Array 'hostname[256]' index 256 out of bounds
- ./lib/dlmalloc.c:2615 [error] - Memory leak: newmem
- ./lib/dlmalloc.c:2797 [error] - Data is allocated but not initialized: mem
- ./lib/dlmalloc.c:903 [error] - Invalid number of character (() when these macros are defined: 'WIN32'.
- ./libsqdebug/debug.c:155 [error] - syntax error
- ./snmplib/parse.c:1088 [error] - Resource leak: fp
- ./src/fs/aufs/store_dir_aufs.c:799 [error] - Common realloc mistake: "asyncufs_dir_index" nulled but not freed upon failure
- ./src/recv-announce.c:100 [error] - Buffer overrun possible for long cmd-line args
- ./test-suite/hash.c:345 [error] - Possible null pointer dereference: hid - otherwise it is redundant to check if hid is null at line 346
- ./test-suite/tcp-banger2.c:431 [error] - Resource leak: f
- ./test-suite/tcp-banger3.c:133 [error] - Dangerous usage of 'host' (strncpy doesn't always 0-terminate it)
- ./tools/cossdump.c:128 [error] - Resource leak: fd
- ./tools/ufs_log_build.c:155 [error] - Resource leak: fd
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:11 +0000, based on results by cppcheck 1.46