cppcheck analysis of e2fsprogs_1.41.11-1.dsc
- ./contrib/make-sparse.c:86 [error] - Resource leak: fd
- ./debugfs/debugfs.c:2138 [possible error] - Resource leak: f
- ./debugfs/logdump.c:265 [possible error] - Resource leak: out_file
- ./e2fsck/flushb.c:64 [error] - Resource leak: fd
- ./e2fsck/flushb.c:60 [error] - Resource leak: fd
- ./ext2ed/disk.c:186 [possible error] - Memory leak: original
- ./lib/blkid/blkidP.h:186 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./lib/ext2fs/dosio.c:224 [error] - Memory leak: part
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: ''.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: 'ENABLE_COMPRESSION'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: 'ENABLE_COMPRESSION;I_KNOW_THAT_COMPRESSION_IS_EXPERIMENTAL'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: 'EXT2_FLAT_INCLUDES'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_ERRNO_H'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SYS_TYPES_H'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: 'HAVE_UNISTD_H'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: '_MSC_VER'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: '__GNUC__'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: '__GNU__'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: '__KERNEL__'.
- ./lib/ext2fs/irel_ma.c:101 [error] - Invalid number of character (() when these macros are defined: '__KERNEL__;CONFIG_EXT2_FS_EXT_ATTR'.
- ./lib/ext2fs/mkjournal.c:134 [error] - Resource leak: fd
- ./lib/ext2fs/mkjournal.c:548 [possible error] - Resource leak: fd
- ./lib/ss/help.c:122 [possible error] - Resource leak: fd
- ./lib/ss/test_ss.c:81 [error] - Resource leak: f
- ./misc/badblocks.c:1249 [possible error] - Resource leak: in
- ./misc/e2initrd_helper.c:104 [error] - Memory leak: buf
- ./resize/online.c:90 [error] - Resource leak: fd
- ./tests/progs/random_exercise.c:99 [possible error] - Resource leak: fd
- ./tests/progs/test_icount.c:293 [error] - Resource leak: f
- ./tests/progs/test_rel.c:709 [error] - Resource leak: f
- ./util/subst.c:400 [possible error] - Memory leak: newfn
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:47:08 +0000, based on results by cppcheck 1.41-modif