cppcheck analysis of sg3-utils_1.29-1.dsc
- ./examples/scsi_inquiry.c:105 [error] - Resource leak: s_fd
- ./examples/sg_iovec_tst.c:166 [error] - Resource leak: sg_fd
- ./lib/sg_pt_freebsd.c:128 [error] - Memory leak: fdchan
- ./src/sg_dd.c:2125 [error] - Resource leak: out2fd
- ./src/sg_map.c:501 [error] - Resource leak: sg_fd
- ./src/sg_rbuf.c:381 [error] - Resource leak: sg_fd
- ./src/sg_read.c:597 [error] - Resource leak: infd
- ./src/sg_reset.c:129 [error] - Resource leak: sg_fd
- ./src/sg_unmap.c:323 [error] - Resource leak: fp
- ./src/sgm_dd.c:998 [error] - Resource leak: infd
- ./src/sgm_dd.c:1086 [error] - Resource leak: outfd
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:35 +0000, based on results by cppcheck 1.46