cppcheck analysis of xen-3_3.4.3~rc3-1.dsc
- ./extras/mini-os/lib/math.c:167 [error] - Division by zero
- ./tools/blktap/drivers/blktapctrl.c:827 [error] - Resource leak: fd
- ./tools/blktap/drivers/block-qcow.c:1148 [possible error] - Resource leak: fd
- ./tools/blktap/drivers/block-qcow2.c:699 [error] - Memory leak: new_l1_table
- ./tools/blktap/drivers/tapdisk.c:605 [error] - Null pointer dereference
- ./tools/console/daemon/utils.c:107 [error] - Resource leak: fd
- ./tools/firmware/rombios/rombios.c:9318 [error] - Invalid number of character (() when these macros are defined: ''.
- ./tools/firmware/rombios/rombios.c:9318 [error] - Invalid number of character (() when these macros are defined: 'BX_QEMU'.
- ./tools/firmware/rombios/rombios.c:9318 [error] - Invalid number of character (() when these macros are defined: 'HVMTEST'.
- ./tools/firmware/rombios/rombios.c:9318 [error] - Invalid number of character (() when these macros are defined: 'NO_PIO32'.
- ./tools/firmware/rombios/rombios.c:9318 [error] - Invalid number of character (() when these macros are defined: 'PLEX86'.
- ./tools/libfsimage/zfs/fsys_zfs.c:1127 [error] - Undefined behaviour: bootpath is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./tools/libxc/xc_domain_save.c:616 [error] - Uninitialized variable: i
- ./tools/libxc/xc_linux.c:215 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tools/libxc/xc_linux.c:216 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./tools/security/secpol_tool.c:329 [error] - Resource leak: fd
- ./tools/vtpm_manager/manager/securestorage.c:219 [error] - Resource leak: fh
- ./tools/vtpm_manager/manager/securestorage.c:293 [error] - Resource leak: fh
- ./tools/vtpm_manager/manager/vtsp.c:399 [error] - Uninitialized variable: paramText
- ./tools/vtpm_manager/tcs/contextmgr.c:65 [error] - Memory leak: pBlock
- ./tools/xcutils/readnotes.c:148 [error] - Resource leak: fd
- ./tools/xenstore/xenstored_core.c:1674 [error] - Resource leak: fd
- ./tools/xenstore/xenstored_domain.c:299 [error] - ### Internal error in Cppcheck. Please report it.
- ./tools/xenstore/xenstored_transaction.c:273 [error] - ### Internal error in Cppcheck. Please report it.
- ./tools/xenstore/xenstored_watch.c:203 [error] - ### Internal error in Cppcheck. Please report it.
- ./xen/arch/ia64/linux-xen/process-linux-xen.c:607 [error] - Uninitialized variable: cfm
- ./xen/arch/ia64/linux-xen/sn/kernel/io_init.c:777 [error] - Undefined behaviour: address is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./xen/arch/ia64/tools/privify/privify_elf64.c:48 [error] - Resource leak: from
- ./xen/arch/ia64/tools/privify/privify_elf64.c:61 [error] - Resource leak: to
- ./xen/arch/ia64/vmx/vmx_fault.c:355 [error] - Uninitialized variable: type
- ./xen/arch/x86/cpu/amd.c:69 [error] - Uninitialized variable: status
- ./xen/arch/x86/oprofile/nmi_int.c:325 [error] - Invalid number of character (() when these macros are defined: ''.
- ./xen/common/gdbstub.c:273 [error] - Uninitialized variable: i
- ./xen/crypto/vmac.c:1217 [possible error] - Memory leak: p
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 06:03:54 +0000, based on results by cppcheck 1.41-modif