cppcheck analysis of libsdl1.2_1.2.14-6.3.dsc
- ./src/joystick/os2/SDL_sysjoystick.c:416 [error] - Array 'pos[4]' index 4 out of bounds
- ./src/joystick/os2/SDL_sysjoystick.c:417 [error] - Array 'pos[4]' index 5 out of bounds
- ./src/joystick/os2/SDL_sysjoystick.c:425 [error] - Array 'pos[4]' index 4 out of bounds
- ./src/joystick/os2/SDL_sysjoystick.c:426 [error] - Array 'pos[4]' index 5 out of bounds
- ./src/main/win32/SDL_win32_main.c:264 [error] - Resource leak: newfp
- ./src/main/win32/SDL_win32_main.c:247 [error] - Resource leak: newfp
- ./src/thread/os2/SDL_systhread.c:47 [error] - Possible null pointer dereference: pThreadParms - otherwise it is redundant to check if pThreadParms is null at line 50
- ./src/thread/win32/SDL_systhread.c:74 [error] - Possible null pointer dereference: pThreadParms - otherwise it is redundant to check if pThreadParms is null at line 77
- ./src/thread/win32/win_ce_semaphore.c:76 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:77 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:78 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:80 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:82 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:85 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:87 [error] - Possible null pointer dereference: hSynch
- ./src/thread/win32/win_ce_semaphore.c:88 [error] - Possible null pointer dereference: hSynch
- ./src/video/fbcon/SDL_fbevents.c:255 [error] - Resource leak: tty0_fd
- ./src/video/ipod/SDL_ipodvideo.c:181 [error] - Resource leak: tty0_fd
- ./src/video/ipod/SDL_ipodvideo.c:330 [error] - Resource leak: fd
- ./src/video/os2fslib/SDL_os2fslib.c:203 [error] - Uninitialized variable: aucTo
- ./src/video/ps2gs/SDL_gsevents.c:245 [error] - Resource leak: tty0_fd
- ./src/video/riscos/SDL_wimpvideo.c:396 [error] - Uninitialized variable: block
- ./test/testiconv.c:72 [error] - Resource leak: file
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, 18 Apr 2011 06:58:08 +0000, based on results by cppcheck 1.46