cppcheck analysis of bochs_2.4.5-1.dsc
- ./bios/rombios.c:9100 [error] - Invalid number of character (() when these macros are defined: ''.
- ./bios/rombios.c:9100 [error] - Invalid number of character (() when these macros are defined: 'BX_QEMU'.
- ./bios/rombios.c:9100 [error] - Invalid number of character (() when these macros are defined: 'BX_USE_EBDA_TABLES'.
- ./bios/rombios32.c:422 [error] - Uninitialized variable: k
- ./bios/usage.cc:99 [error] - Resource leak: bios_file
- ./bios/usage.cc:99 [error] - Resource leak: org_file
- ./bx_debug/dbg_main.cc:404 [error] - Resource leak: tmp_fp
- ./bx_debug/symbols.cc:359 [error] - Memory leak: cntx
- ./bx_debug/symbols.cc:359 [error] - Resource leak: fp
- ./gui/gui.cc:445 [error] - Memory leak: mask_snapshot
- ./gui/rfb.cc:939 [error] - Common realloc mistake: "rfbScreen" nulled but not freed upon failure
- ./iodev/harddrv.cc:1653 [error] - Buffer access out-of-bounds
- ./iodev/serial.cc:343 [error] - Possible null pointer dereference: hp
- ./iodev/serial.cc:344 [error] - Possible null pointer dereference: hp
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: ''.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_ASSERT_ENABLE'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_DBG_EXTENSIONS;BX_DEBUGGER;__cplusplus'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_DEBUGGER'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_DEBUGGER;BX_SUPPORT_X86_64'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_DEBUGGER;BX_SUPPORT_X86_64;__cplusplus'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_DEBUGGER;__cplusplus'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_DEBUG_LINUX'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_GDBSTUB'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_GUI_SIGHANDLER'.
- ./iodev/vga.cc:647 [error] - Invalid number of character (() when these macros are defined: 'BX_HAVE_DLFCN_H'.
- ./iodev/vmware3.cc:176 [error] - Undefined behaviour: name 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.
- ./iodev/vmware3.cc:179 [error] - Undefined behaviour: name 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.
- ./load32bitOShack.cc:74 [error] - Resource leak: fp
- ./logio.cc:482 [error] - Possible null pointer dereference: crashptr
- ./memory/misc_mem.cc:274 [error] - Resource leak: fd
- ./memory/misc_mem.cc:393 [error] - Resource leak: fd
- ./misc/bxcommit.c:346 [error] - Memory leak: catalog
- ./misc/bxcommit.c:346 [error] - Memory leak: bitmap
- ./misc/make_cmos_image.cc:103 [error] - Resource leak: fd
- ./plugin.cc:524 [error] - Possible null pointer dereference: device
- ./plugin.cc:526 [error] - Possible null pointer dereference: device
- ./plugin.cc:527 [error] - Possible null pointer dereference: device
- ./plugin.cc:528 [error] - Possible null pointer dereference: device
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, 23 Dec 2010 20:58:02 +0000, based on results by cppcheck 1.46