cppcheck analysis of qemu_0.12.3+dfsg-2.dsc
- ./block/qcow2.c:784 [error] - Resource leak: fd
- ./block/vpc.c:508 [error] - Resource leak: fd
- ./block/vvfat.c:759 [error] - Resource leak: dir
- ./bsd-user/elfload.c:1076 [error] - Memory leak: s
- ./bsd-user/elfload.c:1079 [error] - Memory leak: syms
- ./darwin-user/machload.c:546 [possible error] - Memory leak: fa
- ./envlist.c:35 [error] - Data is allocated but not initialized: envlist
- ./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/loader.c:311 [error] - Resource leak: fd
- ./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
- ./linux-user/elfload.c:1283 [error] - Memory leak: s
- ./linux-user/elfload.c:1286 [error] - Memory leak: syms
- ./net/tap-solaris.c:105 [error] - Resource leak: tap_fd
- ./net/tap-solaris.c:109 [error] - Resource leak: if_fd
- ./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/linux-test.c:433 [error] - Memory leak: stack1
- ./tests/linux-test.c:433 [error] - Memory leak: stack2
- ./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 Thu, 16 Dec 2010 06:01:30 +0000, based on results by cppcheck 1.41-modif