cppcheck analysis of loop-aes-utils_2.16.2-2.dsc
- ./disk-utils/fsck.cramfs.c:562 [error] - Resource leak: fd
- ./disk-utils/fsck.minix.c:322 [error] - Resource leak: fd
- ./disk-utils/mkfs.bfs.c:286 [error] - Memory leak: volume
- ./disk-utils/mkfs.bfs.c:286 [error] - Memory leak: fsname
- ./disk-utils/mkfs.cramfs.c:526 [error] - Common realloc mistake: "entry_stack" nulled but not freed upon failure
- ./fdisk/fdisk.c:1167 [error] - Common realloc mistake: "ms" nulled but not freed upon failure
- ./fdisk/sfdisk.c:408 [error] - Memory leak: ss
- ./fdisk/sfdisk.c:1577 [error] - instance of "bsd_partition" object destroyed immediately
- ./fdisk/sfdisk.c:1588 [error] - instance of "bsd_partition" object destroyed immediately
- ./fsck/fsck.c:1321 [error] - Memory leak: fs
- ./login-utils/agetty.c:642 [error] - Allocation with open, if doesn't release it.
- ./login-utils/checktty.c:538 [error] - Memory leak: tc
- ./login-utils/chfn.c:353 [error] - Memory leak: gecos
- ./login-utils/setpwnam.c:139 [error] - Common realloc mistake: "linebuf" nulled but not freed upon failure
- ./login-utils/setpwnam.c:104 [error] - Memory leak: linebuf
- ./login-utils/shutdown.c:688 [error] - Common realloc mistake: "pids" nulled but not freed upon failure
- ./login-utils/shutdown.c:689 [error] - Resource leak: dp
- ./misc-utils/procs.c:80 [error] - Common realloc mistake: "pids" nulled but not freed upon failure
- ./mount/aes.c:295 [error] - Array 'b1[4]' index 4 out of bounds
- ./mount/aes.c:295 [error] - Array 'b1[4]' index 5 out of bounds
- ./mount/aes.c:295 [error] - Array 'b1[4]' index 6 out of bounds
- ./mount/aes.c:295 [error] - Array 'b1[4]' index 7 out of bounds
- ./mount/aes.c:291 [error] - Array 'b0[4]' index 4 out of bounds
- ./mount/aes.c:291 [error] - Array 'b0[4]' index 5 out of bounds
- ./mount/aes.c:291 [error] - Array 'b0[4]' index 6 out of bounds
- ./mount/aes.c:291 [error] - Array 'b0[4]' index 7 out of bounds
- ./mount/loumount.c:54 [error] - Resource leak: fd
- ./mount/mount.c:2047 [error] - Resource leak: fd
- ./partx/addpart.c:42 [error] - Resource leak: fd
- ./partx/delpart.c:42 [error] - Resource leak: fd
- ./partx/partx.c:215 [error] - Resource leak: fd
- ./shlibs/uuid/src/gen_uuid.c:214 [error] - Resource leak: fd
- ./sys-utils/lscpu.c:478 [error] - Resource leak: dp
- ./sys-utils/rdev.c:126 [error] - Resource leak: dp
- ./sys-utils/switch_root.c:229 [error] - Resource leak: cfd
- ./sys-utils/tunelp.c:298 [error] - Memory leak: filename
- ./text-utils/column.c:250 [error] - Common realloc mistake: "cols" nulled but not freed upon failure
- ./text-utils/column.c:252 [error] - Common realloc mistake: "lens" nulled but not freed upon failure
- ./text-utils/column.c:307 [error] - Common realloc mistake: "list" nulled but not freed upon failure
- ./text-utils/column.c:277 [error] - Memory leak: lens
- ./text-utils/pg.c:611 [error] - Memory leak: buf
- ./text-utils/rev.c:111 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./text-utils/ul.c:596 [error] - Common realloc mistake: "obuf" nulled but not freed upon failure
- ./text-utils/ul.c:178 [error] - Resource leak: f
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, 24 Mar 2011 06:58:24 +0000, based on results by cppcheck 1.46