cppcheck analysis of xfsprogs_3.1.5.dsc
- ./db/check.c:2259 [error] - Common realloc mistake: "freetab" nulled but not freed upon failure
- ./db/input.c:164 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./fsr/xfs_fsr.c:1538 [error] - Common realloc mistake: "outmap" nulled but not freed upon failure
- ./fsr/xfs_fsr.c:1541 [error] - Common realloc mistake: "outmap" nulled but not freed upon failure
- ./io/bmap.c:225 [error] - Common realloc mistake: "map" nulled but not freed upon failure
- ./io/mmap.c:230 [error] - Common realloc mistake: "maptable" nulled but not freed upon failure
- ./io/mmap.c:477 [error] - Common realloc mistake: "maptable" nulled but not freed upon failure
- ./io/open.c:220 [error] - Common realloc mistake: "filetable" nulled but not freed upon failure
- ./io/open.c:363 [error] - Common realloc mistake: "filetable" nulled but not freed upon failure
- ./libxcmd/command.c:119 [error] - Common realloc mistake: "cmdline" nulled but not freed upon failure
- ./libxcmd/input.c:117 [error] - Common realloc mistake: "rval" nulled but not freed upon failure
- ./libxfs/irix.c:111 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./quota/init.c:36 [error] - Common realloc mistake: "projopts" nulled but not freed upon failure
- ./quota/quot.c:168 [error] - Resource leak: fsfd
- ./repair/attr_repair.c:1048 [error] - Uninitialized variable: aclp
- ./repair/bmap.c:53 [error] - Common realloc mistake: "blkmap" nulled but not freed upon failure
- ./repair/bmap.c:258 [error] - Memory leak: blkmap
- ./repair/phase6.c:1886 [error] - Common realloc mistake: "freetab" nulled but not freed upon failure
- ./repair/phase6.c:2505 [error] - Common realloc mistake: "bplist" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 08 Apr 2011 06:58:14 +0000, based on results by cppcheck 1.46