cppcheck analysis of libfreebasic_0.18.2b-1.dsc
- ./src/gfxlib2/libfb_gfx_screenlist.c:49 [error] - Common realloc mistake: "list" nulled but not freed upon failure
- ./src/gfxlib2/linux/libfb_gfx_driver_fbdev.c:674 [error] - Common realloc mistake: "sizes" nulled but not freed upon failure
- ./src/gfxlib2/opengl/win32/libfb_gfx_driver_opengl.c:466 [error] - Common realloc mistake: "modes" nulled but not freed upon failure
- ./src/gfxlib2/tools/mk_dat.c:126 [error] - Memory leak: pszFullDataFilePath
- ./src/gfxlib2/tools/mk_dat.c:135 [error] - Resource leak: fpDataIn
- ./src/gfxlib2/tools/mk_dat.c:189 [error] - Resource leak: fpSourceOut
- ./src/gfxlib2/tools/mk_dat.c:142 [error] - Resource leak: fpDataOut
- ./src/rtlib/libfb_str_comp.c:64 [error] - Possible null pointer dereference: str2_ptr
- ./src/rtlib/unix/libfb_io_locate.c:113 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/rtlib/unix/libfb_unix_hinit.c:135 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/rtlib/win32/libfb_io_printer.c:221 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./src/rtlib/win32/libfb_io_printer.c:261 [error] - Common realloc mistake: "result" nulled but not freed upon failure
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:15:44 +0000, based on results by cppcheck 1.46