cppcheck analysis of qemu_0.12.5+dfsg-3.dsc
- ./alpha-dis.c:1813 [error] - Uninitialized variable: buffer
- ./audio/sdlaudio.c:315 [error] - Uninitialized variable: shift
- ./block/qcow2-refcount.c:989 [error] - Possible null pointer dereference: l1_table
- ./block/qcow2.c:793 [error] - Resource leak: fd
- ./block/vpc.c:510 [error] - Resource leak: fd
- ./block/vvfat.c:515 [error] - Buffer access out-of-bounds: entry.name
- ./block/vvfat.c:759 [error] - Resource leak: dir
- ./block/vvfat.c:1265 [error] - Buffer access out-of-bounds: direntry.name
- ./block/vvfat.c:1978 [error] - Uninitialized variable: next_mapping
- ./bsd-user/elfload.c:1076 [error] - Memory leak: s
- ./bsd-user/elfload.c:1079 [error] - Memory leak: syms
- ./cmd.c:128 [error] - Common realloc mistake: "cmdline" nulled but not freed upon failure
- ./cmd.c:319 [error] - Common realloc mistake: "rval" nulled but not freed upon failure
- ./cris-dis.c:2616 [error] - Uninitialized variable: buffer
- ./hppa-dis.c:1961 [error] - Uninitialized variable: buffer
- ./hw/bt-hci.c:1455 [error] - Uninitialized variable: buf
- ./hw/fmopl.c:600 [error] - Buffer access out-of-bounds: OPL.AR_TABLE
- ./hw/fmopl.c:601 [error] - Buffer access out-of-bounds: OPL.DR_TABLE
- ./hw/lan9118.c:795 [error] - Buffer access out-of-bounds: s.eeprom
- ./hw/loader.c:311 [error] - Resource leak: fd
- ./hw/ppc405_uc.c:72 [error] - Buffer access out-of-bounds: bd.bi_s_version
- ./i386-dis.c:4315 [error] - Unusual pointer arithmetic
- ./i386-dis.c:4666 [error] - Unusual pointer arithmetic
- ./i386-dis.c:4671 [error] - Unusual pointer arithmetic
- ./i386-dis.c:4676 [error] - Unusual pointer arithmetic
- ./i386-dis.c:4681 [error] - Unusual pointer arithmetic
- ./i386-dis.c:4686 [error] - Unusual pointer arithmetic
- ./i386-dis.c:4691 [error] - Unusual pointer arithmetic
- ./i386-dis.c:5745 [error] - Unusual pointer arithmetic
- ./mips-dis.c:4101 [error] - Uninitialized variable: buffer
- ./osdep.c:161 [error] - Resource leak: fd
- ./ppc-dis.c:5257 [error] - Uninitialized variable: buffer
- ./sparc-dis.c:2719 [error] - Uninitialized variable: buffer
- ./tests/cris/check_openpf1.c:37 [error] - Memory leak: fnam
- ./tests/cris/check_openpf1.c:30 [error] - Mismatching allocation and deallocation: f
- ./tests/cris/check_openpf2.c:13 [error] - Mismatching allocation and deallocation: f
- ./tests/cris/check_stat3.c:16 [error] - Buffer overrun possible for long cmd-line args
- ./tests/cris/check_stat4.c:18 [error] - Buffer overrun possible for long cmd-line args
- ./tests/linux-test.c:433 [error] - Memory leak: stack1
- ./tests/linux-test.c:433 [error] - Memory leak: stack2
- ./tests/linux-test.c:498 [error] - Null pointer dereference
- ./usb-bsd.c:392 [error] - Resource leak: bfd
- ./usb-bsd.c:388 [error] - Resource leak: dfd
- ./vnc-auth-sasl.c:447 [error] - Memory leak: mechname
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:18:16 +0000, based on results by cppcheck 1.46