cppcheck analysis of freebsd-utils_8.1-2.dsc
- ./contrib/pf/pfctl/pfctl_optimize.c:911 [error] - Memory leak: por
- ./sbin/ccdconfig/ccdconfig.c:313 [error] - Common realloc mistake: "argv" nulled but not freed upon failure
- ./sbin/devd/devd.cc:341 [error] - Resource leak: dirp
- ./sbin/devfs/devfs.c:208 [error] - Memory leak: wline
- ./sbin/gbde/gbde.c:726 [error] - Memory leak: buf
- ./sbin/gbde/gbde.c:900 [error] - Memory leak: dest
- ./sbin/gbde/gbde.c:901 [error] - Resource leak: dfd
- ./sbin/geom/class/multipath/geom_multipath.c:173 [error] - Memory leak: sector
- ./sbin/geom/class/virstor/geom_virstor.c:403 [error] - Resource leak: fd
- ./sbin/geom/class/virstor/geom_virstor.c:525 [error] - Resource leak: fd
- ./sbin/kldconfig/kldconfig.c:442 [error] - Memory leak: origpath
- ./sbin/mdconfig/mdconfig.c:303 [error] - Resource leak: fd
- ./usr.bin/kdump/kdump.c:205 [error] - Common realloc mistake: "m" nulled but not freed upon failure
- ./usr.bin/vmstat/vmstat.c:1341 [error] - Common realloc mistake: "ret" nulled but not freed upon failure
- ./usr.sbin/jail/jail.c:536 [error] - Common realloc mistake: "params" nulled but not freed upon failure
- ./usr.sbin/jail/jail.c:537 [error] - Common realloc mistake: "param_values" nulled but not freed upon failure
- ./usr.sbin/kbdcontrol/kbdcontrol.c:161 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./usr.sbin/kbdcontrol/kbdcontrol.c:834 [error] - Memory leak: name
- ./usr.sbin/ppp/atm.c:150 [error] - Common realloc mistake: "dev" nulled but not freed upon failure
- ./usr.sbin/ppp/chap_ms.c:200 [error] - The given size 41 is mismatching
- ./usr.sbin/ppp/ether.c:352 [error] - Common realloc mistake: "dev" nulled but not freed upon failure
- ./usr.sbin/ppp/exec.c:180 [error] - Common realloc mistake: "dev" nulled but not freed upon failure
- ./usr.sbin/ppp/netgraph.c:328 [error] - Common realloc mistake: "dev" nulled but not freed upon failure
- ./usr.sbin/ppp/tty.c:644 [error] - Common realloc mistake: "dev" nulled but not freed upon failure
- ./usr.sbin/ppp/udp.c:182 [error] - Common realloc mistake: "dev" 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 Tue, 21 Dec 2010 16:59:24 +0000, based on results by cppcheck 1.46