cppcheck analysis of amanda_3.2.0-1.dsc
- ./amar-src/amarchiver.c:64 [error] - Possible null pointer dereference: error
- ./amar-src/amarchiver.c:230 [error] - Possible null pointer dereference: error
- ./amar-src/amarchiver.c:279 [error] - Possible null pointer dereference: error
- ./application-src/amgtar.c:1183 [error] - Resource leak: include_list
- ./application-src/amgtar.c:1347 [error] - Resource leak: infd
- ./client-src/runtar.c:163 [error] - Resource leak: version_file
- ./client-src/sendbackup-gnutar.c:250 [error] - Resource leak: infd
- ./contrib/gsc/tstinq.c:74 [error] - Uninitialized variable: iqd
- ./device-src/s3.c:1828 [error] - Possible null pointer dereference: query - otherwise it is redundant to check if query is null at line 1833
- ./device-src/tape-device.c:970 [error] - Memory leak: msg
- ./device-src/tape-device.c:1013 [error] - Memory leak: msg
- ./device-src/tape-device.c:1120 [error] - Memory leak: msg
- ./device-src/tape-device.c:1263 [error] - Memory leak: msg
- ./device-src/tape-device.c:1598 [error] - Memory leak: msg
- ./device-src/tape-device.c:1847 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./gnulib/getaddrinfo.c:327 [error] - Memory leak: storage
- ./gnulib/getaddrinfo.c:328 [error] - Memory leak: storage
- ./gnulib/regcomp.c:2797 [error] - Uninitialized variable: symb_table
- ./gnulib/regexec.c:3908 [error] - Uninitialized variable: extra
- ./oldrecover-src/uparse.c:1311 [error] - Memory leak: yyptr
- ./perl/Amanda/Util.c:2904 [error] - Mismatching allocation and deallocation: result
- ./recover-src/uparse.c:1427 [error] - Memory leak: yyptr
- ./server-src/amindexd.c:1424 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./server-src/amservice.c:153 [error] - Resource leak: input_file
- ./server-src/chunker.c:449 [error] - Possible null pointer dereference: res - otherwise it is redundant to check if res is null at line 453
- ./server-src/chunker.c:451 [error] - Possible null pointer dereference: res - otherwise it is redundant to check if res is null at line 453
- ./server-src/driver.c:3171 [error] - Uninitialized variable: res
- ./xfer-src/element-glue.c:954 [error] - Memory leak: buf
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:12:17 +0000, based on results by cppcheck 1.46