cppcheck analysis of kfreebsd-8_8.2-1.dsc
- ./sys/amd64/linux32/linux32_machdep.c:300 [error] - Memory leak: iov
- ./sys/amd64/linux32/linux32_machdep.c:255 [error] - Data is allocated but not initialized: uio
- ./sys/arm/arm/elf_trampoline.c:592 [error] - Uninitialized variable: curaddr
- ./sys/arm/arm/pmap.c:1750 [error] - Possible null pointer dereference: pve - otherwise it is redundant to check if pve is null at line 1754
- ./sys/arm/xscale/i80321/i80321_timer.c:300 [error] - Uninitialized variable: ret
- ./sys/arm/xscale/pxa/pxa_smi.c:330 [error] - Memory leak: ivars
- ./sys/boot/arm/at91/libat91/emac.c:437 [error] - Uninitialized variable: update
- ./sys/boot/ficl/stack.c:193 [error] - Array index -1 is out of bounds
- ./sys/boot/ficl/testmain.c:326 [error] - Buffer overrun possible for long cmd-line args
- ./sys/boot/zfs/zfsimpl.c:875 [error] - Memory leak: spa
- ./sys/cam/ata/ata_xpt.c:1514 [error] - Possible null pointer dereference: ident_buf - otherwise it is redundant to check if ident_buf is null at line 1525
- ./sys/cam/cam_xpt.c:3626 [error] - Memory leak: new_bus
- ./sys/cam/scsi/scsi_cd.c:973 [error] - Memory leak: nchanger
- ./sys/cam/scsi/scsi_low.c:643 [error] - Memory leak: sap
- ./sys/cddl/compat/opensolaris/kern/opensolaris_zone.c:77 [error] - Memory leak: zd
- ./sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:10492 [error] - Uninitialized variable: ecb
- ./sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:10509 [error] - Uninitialized variable: agg
- ./sys/cddl/dev/cyclic/cyclic.c:678 [error] - Memory leak: new_heap
- ./sys/cddl/dev/cyclic/cyclic.c:678 [error] - Memory leak: new_cyclics
- ./sys/cddl/dev/systrace/systrace.c:170 [error] - Uninitialized variable: uargs
- ./sys/compat/freebsd32/freebsd32_misc.c:886 [error] - Memory leak: iov
- ./sys/compat/freebsd32/freebsd32_misc.c:785 [error] - Data is allocated but not initialized: uio
- ./sys/compat/linux/linux_futex.c:470 [error] - Memory leak: wp
- ./sys/compat/linux/linux_mib.c:229 [error] - Memory leak: nlpr
- ./sys/compat/linux/linux_socket.c:1183 [error] - Memory leak: cmsg
- ./sys/compat/ndis/kern_windrv.c:556 [error] - Memory leak: new
- ./sys/compat/ndis/subr_ndis.c:2751 [error] - Memory leak: afilename
- ./sys/compat/svr4/svr4_socket.c:136 [error] - Memory leak: e
- ./sys/contrib/altq/altq/altq_priq.c:191 [error] - Memory leak: cl
- ./sys/contrib/dev/acpica/events/evregion.c:655 [error] - Possible null pointer dereference: HandlerObj
- ./sys/contrib/dev/acpica/executer/exresolv.c:548 [error] - Possible null pointer dereference: ObjDesc - otherwise it is redundant to check if ObjDesc is null at line 549
- ./sys/contrib/dev/acpica/namespace/nsalloc.c:416 [error] - Possible null pointer dereference: ParentNode
- ./sys/contrib/dev/acpica/parser/psscope.c:366 [error] - Possible null pointer dereference: ParserState
- ./sys/contrib/dev/acpica/utilities/utdelete.c:176 [error] - Possible null pointer dereference: Object
- ./sys/contrib/dev/acpica/utilities/utmisc.c:1313 [error] - Possible null pointer dereference: State - otherwise it is redundant to check if State is null at line 1314
Note: this report is incomplete, which means that an error ocurred
while checking this package and not all of the code was analysed.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 27 Mar 2011 06:58:11 +0000, based on results by cppcheck 1.46