cppcheck analysis of visualboyadvance_1.8.0-6.dsc
- ./src/GBA.cpp:1312 [error] - Resource leak: file
- ./src/arm-new.h:3848 [error] - Uninitialized variable: value
- ./src/arm-new.h:3933 [error] - Uninitialized variable: value
- ./src/arm-new.h:3934 [error] - Uninitialized variable: value
- ./src/arm-new.h:3935 [error] - Uninitialized variable: value
- ./src/arm-new.h:3936 [error] - Uninitialized variable: value
- ./src/gb/GB.cpp:4066 [error] - Common realloc mistake: "gbRom" nulled but not freed upon failure
- ./src/gb/GB.cpp:4084 [error] - Common realloc mistake: "gbRom" nulled but not freed upon failure
- ./src/gb/gbCheats.cpp:163 [error] - Resource leak: f
- ./src/prof/prof.cpp:328 [error] - Possible null pointer dereference: seg
- ./src/sdl/SDL.cpp:1064 [error] - Array 'joypad[4][12]' index joypad[4][0] out of bounds
- ./src/sdl/SDL.cpp:1066 [error] - Array 'joypad[4][12]' index joypad[4][1] out of bounds
- ./src/sdl/SDL.cpp:1068 [error] - Array 'joypad[4][12]' index joypad[4][2] out of bounds
- ./src/sdl/SDL.cpp:1070 [error] - Array 'joypad[4][12]' index joypad[4][3] out of bounds
- ./src/sdl/SDL.cpp:1072 [error] - Array 'joypad[4][12]' index joypad[4][4] out of bounds
- ./src/sdl/SDL.cpp:1074 [error] - Array 'joypad[4][12]' index joypad[4][5] out of bounds
- ./src/sdl/SDL.cpp:1076 [error] - Array 'joypad[4][12]' index joypad[4][8] out of bounds
- ./src/sdl/SDL.cpp:1078 [error] - Array 'joypad[4][12]' index joypad[4][9] out of bounds
- ./src/sdl/SDL.cpp:1080 [error] - Array 'joypad[4][12]' index joypad[4][6] out of bounds
- ./src/sdl/SDL.cpp:1082 [error] - Array 'joypad[4][12]' index joypad[4][7] out of bounds
- ./src/sdl/SDL.cpp:1084 [error] - Array 'joypad[4][12]' index joypad[4][10] out of bounds
- ./src/sdl/SDL.cpp:1086 [error] - Array 'joypad[4][12]' index joypad[4][11] out of bounds
- ./src/sdl/debugger.cpp:2091 [error] - Buffer access out-of-bounds: buffer
- ./src/unzip.cpp:459 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 460
- ./src/unzip.cpp:915 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 917
- ./win32/dependencies/cximage/ximadsp.cpp:1188 [error] - Memory leak: kernel
- ./win32/dependencies/cximage/ximaj2k.cpp:162 [error] - Memory leak: img
- ./win32/dependencies/cximage/ximatif.cpp:266 [error] - Memory leak: tilebuf
- ./win32/dependencies/cximage/xmemfile.cpp:160 [error] - Common realloc mistake: "m_pBuffer" nulled but not freed upon failure
- ./win32/dependencies/zlib/gzio.c:149 [error] - Memory leak: s.path
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:19:43 +0000, based on results by cppcheck 1.46