cppcheck analysis of sg3-utils_1.28-2.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:143 [error] - Memory leak: fdchan
- ./src/sg_dd.c:2125 [possible error] - Resource leak: out2fd
- ./src/sg_map.c:396 [possible error] - Resource leak: sg_fd
- ./src/sg_rbuf.c:381 [error] - Resource leak: sg_fd
- ./src/sg_read.c:597 [possible error] - Resource leak: infd
- ./src/sg_reset.c:129 [error] - Resource leak: sg_fd
- ./src/sg_unmap.c:345 [error] - Resource leak: fp
- ./src/sgm_dd.c:998 [possible error] - Resource leak: infd
- ./src/sgm_dd.c:1086 [possible 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 Thu, 16 Dec 2010 06:02:14 +0000, based on results by cppcheck 1.41-modif