Task #112783 - fixed.err
back to task #112783download
Error: GCC_ANALYZER_WARNING (CWE-787):
sdl2-compat-release-2.32.64/src/sdl2_compat.c:2148:22: warning[-Wanalyzer-out-of-bounds]: buffer over-read
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3017:1: enter_function: entry to ‘SDL_PeepEvents_REAL’
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3025:8: branch_true: following ‘true’ branch (when ‘events2’ is non-NULL)...
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3026:19: branch_true: ...to here
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3027:12: branch_false: following ‘false’ branch...
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3031:8: branch_false: ...to here
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3031:8: branch_false: following ‘false’ branch (when ‘action != 0’)...
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3039:18: branch_false: ...to here
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3040:12: branch_true: following ‘true’ branch (when ‘events3’ is non-NULL)...
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3040:12: branch_true: ...to here
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3041:25: branch_true: following ‘true’ branch...
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3042:48: branch_true: ...to here
sdl2-compat-release-2.32.64/src/sdl2_compat.c:3042:17: call_function: calling ‘Event3to2’ from ‘SDL_PeepEvents_REAL’
# 2146| }
# 2147|
# 2148|-> static SDL2_Scancode SDL3ScancodeToSDL2Scancode(SDL_Scancode scancode)
# 2149| {
# 2150| if (scancode <= SDL_SCANCODE_MODE) {