cppcheck analysis of lustre_1.6.7.2-1.dsc
- ./libsysio/src/rw.c:579 [possible error] - Memory leak: xtv
- ./libsysio/src/rw.c:579 [possible error] - Memory leak: iov
- ./libsysio/src/rw.c:1107 [possible error] - Memory leak: xtv
- ./libsysio/src/rw.c:1107 [possible error] - Memory leak: iov
- ./libsysio/src/rw.c:1194 [error] - Invalid number of character (() when these macros are defined: '_LARGEFILE64_SOURCE;__GLIBC'.
- ./libsysio/src/rw.c:1194 [error] - Invalid number of character (() when these macros are defined: '__GLIBC'.
- ./lnet/utils/debug.c:661 [possible error] - Resource leak: fdout
- ./lustre/liblustre/tests/replay_ost_single.c:126 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:127 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:138 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:139 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:169 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:170 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:186 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/replay_ost_single.c:187 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/sanity.c:512 [error] - Buffer access out-of-bounds
- ./lustre/liblustre/tests/sanity.c:494 [error] - Resource leak: fd
- ./lustre/liblustre/tests/sanity.c:514 [error] - Resource leak: fd
- ./lustre/liblustre/tests/sanity.c:627 [error] - Resource leak: fd
- ./lustre/liblustre/tests/sanity.c:745 [error] - Resource leak: fd
- ./lustre/liblustre/tests/sanity.c:810 [error] - Resource leak: fd
- ./lustre/liblustre/tests/sanity.c:1053 [error] - Resource leak: fd
- ./lustre/llite/file.c:1189 [error] - Uninitialized variable: rc
- ./lustre/lvfs/lustre_quota_fmt.c:245 [error] - Uninitialized variable: buf
- ./lustre/obdclass/llog_obd.c:112 [error] - Possible null pointer dereference: ctxt - otherwise it is redundant to check if ctxt is null at line 116
- ./lustre/tests/flocks_test.c:175 [possible error] - Resource leak: fd
- ./lustre/tests/iopentest2.c:109 [error] - Memory leak: pname
- ./lustre/tests/ll_dirstripe_verify.c:268 [error] - Resource leak: dir
- ./lustre/tests/ll_sparseness_verify.c:135 [error] - Memory leak: offsets
- ./lustre/tests/ll_sparseness_verify.c:136 [error] - Memory leak: buf
- ./lustre/tests/ll_sparseness_verify.c:135 [error] - Resource leak: fd
- ./lustre/tests/mmap_sanity.c:599 [possible error] - Resource leak: fd
- ./lustre/tests/mmap_sanity.c:599 [possible error] - Resource leak: fd2
- ./lustre/tests/multifstat.c:98 [error] - Resource leak: fd1
- ./lustre/tests/multifstat.c:98 [error] - Resource leak: fd2
- ./lustre/tests/opendevunlink.c:147 [error] - Resource leak: fddev1
- ./lustre/tests/opendevunlink.c:147 [error] - Resource leak: fddev2
- ./lustre/tests/opendirunlink.c:155 [error] - Resource leak: fddir1
- ./lustre/tests/opendirunlink.c:155 [error] - Resource leak: fddir2
- ./lustre/tests/openfilleddirunlink.c:112 [error] - Resource leak: fddir1
- ./lustre/tests/openme.c:58 [error] - Resource leak: fd
- ./lustre/tests/reads.c:291 [possible error] - Memory leak: buf
- ./lustre/tests/statmany.c:145 [possible error] - Resource leak: f
- ./lustre/tests/statone.c:94 [error] - Resource leak: fd
- ./lustre/tests/test_brw.c:267 [error] - Resource leak: fd
- ./lustre/tests/write_append_truncate.c:557 [possible error] - Memory leak: append_buf
- ./lustre/tests/write_append_truncate.c:557 [possible error] - Memory leak: write_buf
- ./lustre/tests/write_append_truncate.c:557 [possible error] - Memory leak: read_buf
- ./lustre/tests/write_append_truncate.c:557 [possible error] - Memory leak: trunc_buf
- ./lustre/utils/lfs.c:571 [error] - Memory leak: buf
- ./lustre/utils/loadgen.c:979 [error] - Array 'args[3]' index 3 out of bounds
- ./lustre/utils/lustre_cfg.c:771 [possible error] - Resource leak: fd
- ./lustre/utils/mkfs_lustre.c:352 [possible error] - Resource leak: ret
- ./lustre/utils/mkfs_lustre.c:486 [error] - Resource leak: fp
- ./lustre/utils/mkfs_lustre.c:486 [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 Thu, 16 Dec 2010 05:54:47 +0000, based on results by cppcheck 1.41-modif