SDL3-3.4.0-1.fc44
List of Findings
Error: CPPCHECK_WARNING (CWE-476): [#def1]
SDL3-3.4.0/include/SDL3/SDL_rect.h:209: warning[nullPointer]: Possible null pointer dereference: b
Error: COMPILER_WARNING: [#def2]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-231bCM/src.c:15:11: note[note]: called from here
Error: COMPILER_WARNING: [#def3]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-231bCM/src.c:15:11: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
Error: GCC_ANALYZER_WARNING (CWE-457): [#def4]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-5O0cKd/src.c:5:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘y’
Error: COMPILER_WARNING: [#def5]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-AhWXiQ/src.c:15:11: note[note]: called from here
Error: COMPILER_WARNING: [#def6]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-AhWXiQ/src.c:15:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def7]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-BkrIud/src.c:15:11: note[note]: called from here
Error: COMPILER_WARNING: [#def8]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-DiS6Q5/src.c:15:11: note[note]: called from here
Error: COMPILER_WARNING: [#def9]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-DiS6Q5/src.c:15:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: GCC_ANALYZER_WARNING (CWE-457): [#def10]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-Eq67i6/src.c:7:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘display’
Error: COMPILER_WARNING: [#def11]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-MK8x76/src.c:16:19: note[note]: called from here
Error: COMPILER_WARNING: [#def12] [important]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-Mkc1lZ/CheckSymbolExists.c:26:19: error[error]: ‘strnstr’ undeclared (first use in this function); did you mean ‘strstr’?
Error: COMPILER_WARNING (CWE-686): [#def13]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-TU1Bml/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘pow’; expected ‘double(double, double)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def14]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-YURhzG/src.c:5:19: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
Error: COMPILER_WARNING: [#def15] [important]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-adrao6/CheckSymbolExists.c:26:19: error[error]: ‘_ltoa’ undeclared (first use in this function)
Error: COMPILER_WARNING: [#def16] [important]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-coHo65/CheckSymbolExists.c:26:19: error[error]: ‘_i64toa’ undeclared (first use in this function)
Error: COMPILER_WARNING: [#def17] [important]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-dFgGB6/CheckSymbolExists.c:26:19: error[error]: ‘sqr’ undeclared (first use in this function); did you mean ‘sqrt’?
Error: COMPILER_WARNING: [#def18] [important]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-nFcpTV/CheckSymbolExists.c:26:19: error[error]: ‘itoa’ undeclared (first use in this function)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def19]
SDL3-3.4.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-vvurD8/src.c:25:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
SDL3-3.4.0/redhat-linux-build/wayland-generated-protocols/primary-selection-unstable-v1-client-protocol.h:459:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:536:7: enter_function: entry to ‘Wayland_primary_selection_offer_receive’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:545:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:549:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:550:8: branch_false: following ‘false’ branch (when ‘primary_selection_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:73: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:9: call_function: calling ‘zwp_primary_selection_offer_v1_receive’ from ‘Wayland_primary_selection_offer_receive’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
SDL3-3.4.0/redhat-linux-build/wayland-generated-protocols/primary-selection-unstable-v1-client-protocol.h:459:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:536:7: enter_function: entry to ‘Wayland_primary_selection_offer_receive’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:545:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:549:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:550:8: branch_false: following ‘false’ branch (when ‘primary_selection_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:73: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:9: call_function: calling ‘zwp_primary_selection_offer_v1_receive’ from ‘Wayland_primary_selection_offer_receive’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def22]
SDL3-3.4.0/redhat-linux-build/wayland-generated-protocols/wayland-client-protocol.h:1305:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:425:13: enter_function: entry to ‘Wayland_data_offer_check_source’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:430:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:434:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:435:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:440:13: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:440:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:441:13: call_function: inlined call to ‘wl_callback_destroy’ from ‘Wayland_data_offer_check_source’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def23]
SDL3-3.4.0/redhat-linux-build/wayland-generated-protocols/wayland-client-protocol.h:1305:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:425:13: enter_function: entry to ‘Wayland_data_offer_check_source’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:430:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:434:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:435:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:440:13: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:440:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:441:13: call_function: inlined call to ‘wl_callback_destroy’ from ‘Wayland_data_offer_check_source’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
SDL3-3.4.0/redhat-linux-build/wayland-generated-protocols/wayland-client-protocol.h:2392:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:502:7: enter_function: entry to ‘Wayland_data_offer_receive’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:511:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:515:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:516:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:521:56: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:521:9: call_function: calling ‘wl_data_offer_receive’ from ‘Wayland_data_offer_receive’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
SDL3-3.4.0/redhat-linux-build/wayland-generated-protocols/wayland-client-protocol.h:2392:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:502:7: enter_function: entry to ‘Wayland_data_offer_receive’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:511:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:515:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:516:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:521:56: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:521:9: call_function: calling ‘wl_data_offer_receive’ from ‘Wayland_data_offer_receive’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def26]
SDL3-3.4.0/src/SDL_error.c:45:28: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/SDL_error.c:29:6: enter_function: entry to ‘SDL_SetError_REAL’
SDL3-3.4.0/src/SDL_error.c:34:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/SDL_error.c:35:14: call_function: calling ‘SDL_SetErrorV_REAL’ from ‘SDL_SetError_REAL’
Error: CPPCHECK_WARNING (CWE-664): [#def27]
SDL3-3.4.0/src/SDL_error.c:50: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def28]
SDL3-3.4.0/src/SDL_error.c:51: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def29]
SDL3-3.4.0/src/SDL_error.c:52: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def30]
SDL3-3.4.0/src/SDL_error.c:60: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def31]
SDL3-3.4.0/src/SDL_error.c:61: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def32]
SDL3-3.4.0/src/SDL_error.c:62: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1272:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘unseen_prev_adev’
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1248:12: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1257:12: branch_false: ...to here
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1257:12: branch_true: following ‘true’ branch (when ‘subdev_idx == 0’)...
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1258:25: branch_true: ...to here
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1265:30: branch_true: following ‘true’ branch (when ‘adev’ is non-NULL)...
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1267:18: branch_true: ...to here
SDL3-3.4.0/src/audio/alsa/SDL_alsa_audio.c:1272:21: danger: dereference of NULL ‘unseen_prev_adev’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
SDL3-3.4.0/src/camera/v4l2/SDL_camera_v4l2.c:903:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/dev")’
SDL3-3.4.0/src/camera/v4l2/SDL_camera_v4l2.c:900:17: acquire_memory: allocated here
SDL3-3.4.0/src/camera/v4l2/SDL_camera_v4l2.c:901:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/camera/v4l2/SDL_camera_v4l2.c:901:8: branch_true: ...to here
SDL3-3.4.0/src/camera/v4l2/SDL_camera_v4l2.c:903:24: throw: if ‘readdir’ throws an exception...
SDL3-3.4.0/src/camera/v4l2/SDL_camera_v4l2.c:903:24: danger: ‘opendir("/dev")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def35]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:237:28: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:275:6: enter_function: entry to ‘SDL_DBus_CallMethodOnConnection’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:279:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:280:14: call_function: calling ‘SDL_DBus_CallMethodInternal’ from ‘SDL_DBus_CallMethodOnConnection’
Error: CPPCHECK_WARNING (CWE-664): [#def36]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def37]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:243:52: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:236:8: branch_true: following ‘true’ branch (when ‘conn’ is non-NULL)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:237:28: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:238:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: acquire_resource: ‘va_copy’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:243:16: branch_false: following ‘false’ branch (when ‘firstarg != 0’)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:243:52: branch_false: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:243:52: throw: if the called function throws an exception...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:243:52: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def38]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:244:38: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:236:8: branch_true: following ‘true’ branch (when ‘conn’ is non-NULL)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:237:28: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:238:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: acquire_resource: ‘va_copy’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:244:38: throw: if the called function throws an exception...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:244:38: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-664): [#def39]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:247: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def40]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:250: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def41]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:255: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def42]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:260: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def43]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def44]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:60: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:236:8: branch_true: following ‘true’ branch (when ‘conn’ is non-NULL)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:237:28: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:238:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: acquire_resource: ‘va_copy’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:245:20: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:245:20: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:24: branch_false: following ‘false’ branch (when ‘firstarg != 0’)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:60: branch_false: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:60: throw: if the called function throws an exception...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:60: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def45]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:264:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:236:8: branch_true: following ‘true’ branch (when ‘conn’ is non-NULL)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:237:28: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:238:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:241:13: acquire_resource: ‘va_copy’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:245:20: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:245:20: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:24: branch_true: following ‘true’ branch (when ‘firstarg == 0’)...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:261:24: branch_true: ...to here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:264:21: throw: if the called function throws an exception...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:264:21: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-664): [#def46]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:267: error[va_list_usedBeforeStarted]: va_list 'ap_reply' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def47]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:300:28: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:342:6: enter_function: entry to ‘SDL_DBus_CallVoidMethodOnConnection’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:346:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:347:14: call_function: calling ‘SDL_DBus_CallVoidMethodInternal’ from ‘SDL_DBus_CallVoidMethodOnConnection’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def48]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:303:52: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:342:6: enter_function: entry to ‘SDL_DBus_CallVoidMethodOnConnection’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:346:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:347:14: call_function: calling ‘SDL_DBus_CallVoidMethodInternal’ from ‘SDL_DBus_CallVoidMethodOnConnection’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def49]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:304:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:342:6: enter_function: entry to ‘SDL_DBus_CallVoidMethodOnConnection’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:346:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:347:14: call_function: calling ‘SDL_DBus_CallVoidMethodInternal’ from ‘SDL_DBus_CallVoidMethodOnConnection’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def50]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:305:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:342:6: enter_function: entry to ‘SDL_DBus_CallVoidMethodOnConnection’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:346:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/core/linux/SDL_dbus.c:347:14: call_function: calling ‘SDL_DBus_CallVoidMethodInternal’ from ‘SDL_DBus_CallVoidMethodOnConnection’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def51]
SDL3-3.4.0/src/core/linux/SDL_dbus.c:310:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:384:6: enter_function: entry to ‘SDL_DBus_ScreensaverTickle’
SDL3-3.4.0/src/core/linux/SDL_dbus.c:386:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/core/linux/SDL_dbus.c:388:9: call_function: calling ‘SDL_DBus_CallVoidMethod’ from ‘SDL_DBus_ScreensaverTickle’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def52]
SDL3-3.4.0/src/events/SDL_events.c:477:70: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*event.user.data2’
SDL3-3.4.0/src/events/SDL_events.c:1973:6: enter_function: entry to ‘SDL_SendAppEvent’
SDL3-3.4.0/src/events/SDL_events.c:1980:9: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/SDL_events.c:1981:9: branch_true: ...to here
SDL3-3.4.0/src/events/SDL_events.c:1988:16: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/SDL_events.c:1989:17: branch_true: ...to here
SDL3-3.4.0/src/events/SDL_events.c:1989:17: call_function: calling ‘SDL_LogEvent’ from ‘SDL_SendAppEvent’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def53]
SDL3-3.4.0/src/events/imKStoUCS.c:305:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:305:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:305:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589933758’ exceeds ‘keysym_to_unicode_1a1_1ff’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def54]
SDL3-3.4.0/src/events/imKStoUCS.c:307:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:307:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:307:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589933246’ exceeds ‘keysym_to_unicode_2a1_2fe’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def55]
SDL3-3.4.0/src/events/imKStoUCS.c:309:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:309:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:309:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589932732’ exceeds ‘keysym_to_unicode_3a2_3fe’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def56]
SDL3-3.4.0/src/events/imKStoUCS.c:311:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:311:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:311:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589932222’ exceeds ‘keysym_to_unicode_4a1_4df’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def57]
SDL3-3.4.0/src/events/imKStoUCS.c:313:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:313:42: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:313:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589931744’ exceeds ‘keysym_to_unicode_590_5fe’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def58]
SDL3-3.4.0/src/events/imKStoUCS.c:315:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:315:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:315:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589931264’ exceeds ‘keysym_to_unicode_680_6ff’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def59]
SDL3-3.4.0/src/events/imKStoUCS.c:317:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:317:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:317:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589930686’ exceeds ‘keysym_to_unicode_7a1_7f9’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def60]
SDL3-3.4.0/src/events/imKStoUCS.c:319:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:319:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:319:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589930168’ exceeds ‘keysym_to_unicode_8a4_8fe’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def61]
SDL3-3.4.0/src/events/imKStoUCS.c:321:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:321:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:321:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589929538’ exceeds ‘keysym_to_unicode_9df_9f8’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def62]
SDL3-3.4.0/src/events/imKStoUCS.c:323:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:323:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:323:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589929150’ exceeds ‘keysym_to_unicode_aa1_afe’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def63]
SDL3-3.4.0/src/events/imKStoUCS.c:325:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:325:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:325:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589928002’ exceeds ‘keysym_to_unicode_cdf_cfa’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def64]
SDL3-3.4.0/src/events/imKStoUCS.c:327:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:327:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:327:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589927614’ exceeds ‘keysym_to_unicode_da1_df9’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def65]
SDL3-3.4.0/src/events/imKStoUCS.c:329:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:329:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:329:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589927104’ exceeds ‘keysym_to_unicode_ea0_eff’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def66]
SDL3-3.4.0/src/events/imKStoUCS.c:331:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:331:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:331:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589925054’ exceeds ‘keysym_to_unicode_12a1_12fe’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def67]
SDL3-3.4.0/src/events/imKStoUCS.c:333:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:332:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:332:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:333:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:333:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589924488’ exceeds ‘keysym_to_unicode_13bc_13be’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def68]
SDL3-3.4.0/src/events/imKStoUCS.c:335:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:332:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:332:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:334:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:334:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:335:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:335:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589924030’ exceeds ‘keysym_to_unicode_14a1_14ff’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def69]
SDL3-3.4.0/src/events/imKStoUCS.c:337:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:332:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:332:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:334:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:334:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:336:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:336:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:337:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:337:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589923424’ exceeds ‘keysym_to_unicode_15d0_15f6’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def70]
SDL3-3.4.0/src/events/imKStoUCS.c:339:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:332:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:332:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:334:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:334:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:336:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:336:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:338:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:338:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:339:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:339:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589923008’ exceeds ‘keysym_to_unicode_16a0_16f6’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def71]
SDL3-3.4.0/src/events/imKStoUCS.c:341:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:332:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:332:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:334:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:334:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:336:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:336:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:338:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:338:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:340:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:340:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:341:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:341:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589918914’ exceeds ‘keysym_to_unicode_1e9f_1eff’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def72]
SDL3-3.4.0/src/events/imKStoUCS.c:343:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/src/events/imKStoUCS.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:302:9: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:302:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:304:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:304:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:306:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:306:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:308:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:308:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:310:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:310:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:312:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:312:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:314:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:314:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:316:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:316:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:318:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:318:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:320:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:320:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:322:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:322:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:324:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:324:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:326:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:326:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:328:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:328:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:330:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:330:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:332:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:332:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:334:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:334:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:336:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:336:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:338:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:338:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:340:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:340:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:342:14: branch_false: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:342:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/events/imKStoUCS.c:343:16: branch_true: ...to here
SDL3-3.4.0/src/events/imKStoUCS.c:343:16: danger: read of 2 bytes at offset ‘keysym * 2 + 8589917888’ exceeds ‘keysym_to_unicode_20a0_20ac’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:105:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(pathwithsep)’
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:82:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:92:16: acquire_memory: allocated here
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:93:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:105:16: branch_false: ...to here
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:110:12: branch_true: following ‘true’ branch (when ‘result == 0’)...
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:110:53: branch_true: ...to here
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:110:53: throw: if ‘readdir’ throws an exception...
SDL3-3.4.0/src/filesystem/posix/SDL_sysfsops.c:105:16: danger: ‘opendir(pathwithsep)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
SDL3-3.4.0/src/haptic/linux/SDL_syshaptic.c:453:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
SDL3-3.4.0/src/io/SDL_iostream.c:871:40: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen64(file, mode)’
SDL3-3.4.0/src/io/SDL_iostream.c:880:15: enter_function: entry to ‘SDL_IOFromFile_REAL’
SDL3-3.4.0/src/io/SDL_iostream.c:1010:20: acquire_memory: allocated here
SDL3-3.4.0/src/io/SDL_iostream.c:1013:12: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/io/SDL_iostream.c:1015:21: branch_false: ...to here
SDL3-3.4.0/src/io/SDL_iostream.c:1015:19: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/io/SDL_iostream.c:1019:21: branch_true: ...to here
SDL3-3.4.0/src/io/SDL_iostream.c:1019:21: call_function: calling ‘SDL_IOFromFP’ from ‘SDL_IOFromFile_REAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
SDL3-3.4.0/src/joystick/linux/SDL_sysjoystick.c:1129:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
SDL3-3.4.0/src/joystick/linux/SDL_sysjoystick.c:1134:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
SDL3-3.4.0/src/joystick/linux/SDL_sysjoystick.c:1139:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
SDL3-3.4.0/src/joystick/linux/SDL_sysjoystick.c:1153:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
SDL3-3.4.0/src/joystick/linux/SDL_sysjoystick.c:1159:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
SDL3-3.4.0/src/joystick/linux/SDL_sysjoystick.c:2313:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-758): [#def82]
SDL3-3.4.0/src/joystick/virtual/SDL_virtualjoystick.c:203: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def83]
SDL3-3.4.0/src/libm/e_atan2.c:65: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def84]
SDL3-3.4.0/src/libm/e_sqrt.c:117:20: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
SDL3-3.4.0/src/libm/e_sqrt.c:98:11: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/libm/e_sqrt.c:103:11: branch_false: ...to here
SDL3-3.4.0/src/libm/e_sqrt.c:110:11: branch_true: following ‘true’ branch (when ‘m == 0’)...
SDL3-3.4.0/src/libm/e_sqrt.c:110:11: branch_true: ...to here
SDL3-3.4.0/src/libm/e_sqrt.c:111:19: branch_false: following ‘false’ branch (when ‘ix0 != 0’)...
SDL3-3.4.0/src/libm/e_sqrt.c:111:19: branch_false: ...to here
SDL3-3.4.0/src/libm/e_sqrt.c:115:21: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/libm/e_sqrt.c:116:18: branch_false: ...to here
SDL3-3.4.0/src/libm/e_sqrt.c:117:20: danger: shift by count ‘32’ here
Error: CPPCHECK_WARNING (CWE-758): [#def85]
SDL3-3.4.0/src/libm/s_isinf.c:22: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def86]
SDL3-3.4.0/src/libm/s_isinff.c:22: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
SDL3-3.4.0/src/power/linux/SDL_syspower.c:46:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_power_file(base, node, key)’
SDL3-3.4.0/src/power/linux/SDL_syspower.c:209:13: enter_function: entry to ‘check_proc_acpi_ac_adapter’
SDL3-3.4.0/src/power/linux/SDL_syspower.c:217:10: call_function: calling ‘read_power_file’ from ‘check_proc_acpi_ac_adapter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
SDL3-3.4.0/src/power/linux/SDL_syspower.c:247:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(proc_acpi_battery_path)’
SDL3-3.4.0/src/power/linux/SDL_syspower.c:243:12: acquire_memory: allocated here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:244:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:244:8: branch_false: ...to here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:247:24: throw: if ‘readdir’ throws an exception...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:247:24: danger: ‘opendir(proc_acpi_battery_path)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
SDL3-3.4.0/src/power/linux/SDL_syspower.c:259:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(proc_acpi_ac_adapter_path)’
SDL3-3.4.0/src/power/linux/SDL_syspower.c:244:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:244:8: branch_false: ...to here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:247:16: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:252:9: branch_false: ...to here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:255:12: acquire_memory: allocated here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:256:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:256:8: branch_false: ...to here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:259:24: throw: if ‘readdir’ throws an exception...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:259:24: danger: ‘opendir(proc_acpi_ac_adapter_path)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def90]
SDL3-3.4.0/src/power/linux/SDL_syspower.c:333:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(proc_apm_path, 524288)’
SDL3-3.4.0/src/power/linux/SDL_syspower.c:322:20: acquire_resource: opened here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:328:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:332:10: branch_false: ...to here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:333:5: danger: ‘open(proc_apm_path, 524288)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
SDL3-3.4.0/src/power/linux/SDL_syspower.c:435:20: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(base)’
SDL3-3.4.0/src/power/linux/SDL_syspower.c:426:12: acquire_memory: allocated here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:427:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:431:5: branch_false: ...to here
SDL3-3.4.0/src/power/linux/SDL_syspower.c:435:20: throw: if ‘readdir’ throws an exception...
SDL3-3.4.0/src/power/linux/SDL_syspower.c:435:20: danger: ‘opendir(base)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:305:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:316:18: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:250:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:280:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_pipe[0]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:305:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:316:18: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def96]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:305:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:316:18: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[0]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:250:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:250:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_pipe[0]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:280:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:98:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:280:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def101]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:99:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stderr_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:299:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:305:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:316:18: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:99:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdin_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:250:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def103]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:99:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘stdout_pipe[1]’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:160:6: enter_function: entry to ‘SDL_SYS_CreateProcessWithProperties’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:178:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:182:29: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:183:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:187:5: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:192:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:9: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:197:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:202:8: branch_false: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:280:14: call_function: calling ‘CreatePipe’ from ‘SDL_SYS_CreateProcessWithProperties’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:130:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/proc/self/fd")’
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:127:16: acquire_memory: allocated here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:128:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:128:8: branch_true: ...to here
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:130:25: throw: if ‘readdir’ throws an exception...
SDL3-3.4.0/src/process/posix/SDL_posixprocess.c:130:25: danger: ‘opendir("/proc/self/fd")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1536:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘queueFamiliesProperties’
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1486:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1490:9: branch_false: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1490:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1494:43: branch_false: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1496:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1501:5: branch_false: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1502:35: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1503:18: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1520:12: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1530:9: branch_false: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:1536:17: danger: dereference of NULL ‘queueFamiliesProperties + (long unsigned int)queueFamilyIndex * 24’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def106]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3705:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3704:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3705:43: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3705:13: danger: out-of-bounds write from byte 48 till byte 55 but ‘combinedImageSamplerDescriptor’ ends at byte 48
Error: GCC_ANALYZER_WARNING (CWE-121): [#def107]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3709:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3709:9: danger: out-of-bounds write from byte 56 till byte 63 but ‘combinedImageSamplerDescriptor’ ends at byte 48
Error: GCC_ANALYZER_WARNING (CWE-121): [#def108]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3710:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3710:9: danger: out-of-bounds write from byte 64 till byte 67 but ‘combinedImageSamplerDescriptor’ ends at byte 48
Error: GCC_ANALYZER_WARNING (CWE-121): [#def109]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3714:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3714:9: danger: out-of-bounds write from byte 192 till byte 195 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-121): [#def110]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3715:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3715:9: danger: out-of-bounds write from byte 208 till byte 215 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-121): [#def111]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3716:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3716:9: danger: out-of-bounds write from byte 216 till byte 219 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-121): [#def112]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3717:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3717:9: danger: out-of-bounds write from byte 220 till byte 223 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-121): [#def113]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3718:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3718:9: danger: out-of-bounds write from byte 224 till byte 227 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-121): [#def114]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3719:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3719:9: danger: out-of-bounds write from byte 228 till byte 231 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-121): [#def115]
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3720:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3700:21: branch_true: following ‘true’ branch (when ‘i < numImages’)...
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3702:32: branch_true: ...to here
SDL3-3.4.0/src/render/vulkan/SDL_render_vulkan.c:3720:9: danger: out-of-bounds write from byte 232 till byte 239 but ‘descriptorWrites’ ends at byte 192
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
SDL3-3.4.0/src/stdlib/SDL_iconv.c:806:8: warning[-Wanalyzer-malloc-leak]: leak of ‘SDL_iconv_open_REAL(tocode, fromcode)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
SDL3-3.4.0/src/stdlib/SDL_iconv.c:806:8: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(tocode, fromcode)’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:790:7: enter_function: entry to ‘SDL_iconv_string_REAL’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:805:10: call_function: inlined call to ‘SDL_iconv_open_REAL’ from ‘SDL_iconv_string_REAL’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:806:8: danger: ‘iconv_open(tocode, fromcode)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
SDL3-3.4.0/src/stdlib/SDL_iconv.c:811:33: warning[-Wanalyzer-malloc-leak]: leak of ‘SDL_iconv_open_REAL(tocode, fromcode)’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:806:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/stdlib/SDL_iconv.c:810:5: branch_false: ...to here
SDL3-3.4.0/src/stdlib/SDL_iconv.c:812:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/stdlib/SDL_iconv.c:813:9: branch_true: ...to here
SDL3-3.4.0/src/stdlib/SDL_iconv.c:813:9: call_function: calling ‘SDL_iconv_close_REAL’ from ‘SDL_iconv_string_REAL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
SDL3-3.4.0/src/stdlib/SDL_iconv.c:811:33: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(tocode, fromcode)’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:790:7: enter_function: entry to ‘SDL_iconv_string_REAL’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:805:10: call_function: inlined call to ‘SDL_iconv_open_REAL’ from ‘SDL_iconv_string_REAL’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:806:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/stdlib/SDL_iconv.c:810:5: branch_false: ...to here
SDL3-3.4.0/src/stdlib/SDL_iconv.c:812:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/stdlib/SDL_iconv.c:813:9: call_function: inlined call to ‘SDL_iconv_close_REAL’ from ‘SDL_iconv_string_REAL’
SDL3-3.4.0/src/stdlib/SDL_iconv.c:811:33: danger: ‘iconv_open(tocode, fromcode)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-664): [#def120]
SDL3-3.4.0/src/stdlib/SDL_string.c:2373: error[va_list_usedBeforeStarted]: va_list 'aq' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def121]
SDL3-3.4.0/src/stdlib/SDL_string.c:2374: error[va_list_usedBeforeStarted]: va_list 'aq' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def122]
SDL3-3.4.0/src/stdlib/SDL_string.c:2375: error[va_list_usedBeforeStarted]: va_list 'aq' used before va_start() was called.
Error: COMPILER_WARNING (CWE-704): [#def123]
SDL3-3.4.0/src/stdlib/SDL_string.c: scope_hint: In function ‘SDL_strpbrk_REAL’
SDL3-3.4.0/src/stdlib/SDL_string.c:2482:12: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def124]
SDL3-3.4.0/src/stdlib/SDL_string.c:2482:12: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def125]
SDL3-3.4.0/src/test/SDL_test_assert.c:65:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/test/SDL_test_assert.c:64:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/test/SDL_test_assert.c:65:11: throw: if ‘SDL_vsnprintf’ throws an exception...
SDL3-3.4.0/src/test/SDL_test_assert.c:65:11: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def126]
SDL3-3.4.0/src/test/SDL_test_assert.c:83:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/test/SDL_test_assert.c:82:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/test/SDL_test_assert.c:83:11: throw: if ‘SDL_vsnprintf’ throws an exception...
SDL3-3.4.0/src/test/SDL_test_assert.c:83:11: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def127]
SDL3-3.4.0/src/test/SDL_test_assert.c:109:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/test/SDL_test_assert.c:108:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/test/SDL_test_assert.c:109:11: throw: if ‘SDL_vsnprintf’ throws an exception...
SDL3-3.4.0/src/test/SDL_test_assert.c:109:11: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING: [#def128]
SDL3-3.4.0/src/test/SDL_test_font.c:54:31: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
SDL3-3.4.0/src/test/SDL_test_font.c:44:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/test/SDL_test_font.c:48:5: branch_false: ...to here
SDL3-3.4.0/src/test/SDL_test_font.c:54:31: danger: at least one operand of the size argument is of a floating-point type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def129]
SDL3-3.4.0/src/test/SDL_test_font.c:80:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/test/SDL_test_font.c:79:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/test/SDL_test_font.c:80:11: throw: if ‘SDL_vsnprintf’ throws an exception...
SDL3-3.4.0/src/test/SDL_test_font.c:80:11: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def130]
SDL3-3.4.0/src/test/SDL_test_log.c:84:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/src/test/SDL_test_log.c:121:6: enter_function: entry to ‘SDLTest_LogError’
SDL3-3.4.0/src/test/SDL_test_log.c:125:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/src/test/SDL_test_log.c:126:5: call_function: calling ‘SDLTest_LogMessageV’ from ‘SDLTest_LogError’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def131]
SDL3-3.4.0/src/video/SDL_surface.c:3068:12: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-775): [#def132]
SDL3-3.4.0/src/video/kmsdrm/SDL_kmsdrmvideo.c:120:66: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&device, 524290)’
SDL3-3.4.0/src/video/kmsdrm/SDL_kmsdrmvideo.c:587:13: enter_function: entry to ‘KMSDRM_Available’
SDL3-3.4.0/src/video/kmsdrm/SDL_kmsdrmvideo.c:617:11: call_function: calling ‘get_driindex’ from ‘KMSDRM_Available’
Error: CPPCHECK_WARNING (CWE-758): [#def133]
SDL3-3.4.0/src/video/offscreen/SDL_offscreenvulkan.c:109: warning[objectIndex]: The address of variable 'path' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-457): [#def134]
SDL3-3.4.0/src/video/stb_image.h:4622: warning[uninitvar]: Uninitialized variable: lencodes
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:142:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:536:7: enter_function: entry to ‘Wayland_primary_selection_offer_receive’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:545:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:549:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:550:8: branch_false: following ‘false’ branch (when ‘primary_selection_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:73: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:560:16: call_function: calling ‘read_pipe’ from ‘Wayland_primary_selection_offer_receive’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:430:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:434:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:435:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:440:13: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:443:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: branch_true: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: throw: if ‘close’ throws an exception...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:430:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:434:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:435:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:437:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:440:13: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:443:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: branch_true: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: throw: if ‘close’ throws an exception...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:444:13: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:522:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:511:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:515:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:516:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:521:56: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:522:9: throw: if ‘close’ throws an exception...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:522:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:524:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:511:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:515:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:516:8: branch_false: following ‘false’ branch (when ‘data_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:518:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:521:56: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:524:9: throw: if the called function throws an exception...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:524:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:556:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:545:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:549:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:550:8: branch_false: following ‘false’ branch (when ‘primary_selection_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:73: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:556:9: throw: if ‘close’ throws an exception...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:556:9: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def141]
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:558:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:545:8: branch_false: following ‘false’ branch (when ‘offer’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:549:5: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:550:8: branch_false: following ‘false’ branch (when ‘primary_selection_device’ is non-NULL)...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:16: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:552:15: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:555:73: branch_false: ...to here
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:558:9: throw: if the called function throws an exception...
SDL3-3.4.0/src/video/wayland/SDL_waylanddatamanager.c:558:9: danger: ‘pipefd[0]’ leaks here
Error: CPPCHECK_WARNING (CWE-457): [#def142]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:155: error[uninitvar]: Uninitialized variable: tp->id
Error: CPPCHECK_WARNING (CWE-457): [#def143]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:171: error[uninitvar]: Uninitialized variable: tp->id
Error: CPPCHECK_WARNING (CWE-457): [#def144]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:304: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def145]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:370: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def146]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:383: error[uninitvar]: Uninitialized variable: tool->cursor_state.cursor_shape
Error: CPPCHECK_WARNING (CWE-457): [#def147]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:394: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def148]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:1484: error[uninitvar]: Uninitialized variables: tp.id, tp.fx, tp.fy, tp.surface, tp.link
Error: CPPCHECK_WARNING (CWE-457): [#def149]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3182: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def150]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3216: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def151]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3237: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def152]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3295: warning[uninitvar]: Uninitialized variables: sdltool.instance_id, sdltool.info, sdltool.focus, sdltool.wltool, sdltool.proximity_serial, sdltool.frame, sdltool.cursor_state, sdltool.link
Error: CPPCHECK_WARNING (CWE-457): [#def153]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3553: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-457): [#def154]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3572: error[uninitvar]: Uninitialized variables: tool.instance_id, tool.info, tool.focus, tool.wltool, tool.proximity_serial, tool.frame, tool.cursor_state, tool.link
Error: CPPCHECK_WARNING (CWE-457): [#def155]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3621: error[uninitvar]: Uninitialized variable: seat->keyboard.focus
Error: CPPCHECK_WARNING (CWE-457): [#def156]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3632: error[uninitvar]: Uninitialized variable: tp->surface
Error: CPPCHECK_WARNING (CWE-457): [#def157]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3639: error[uninitvar]: Uninitialized variable: tool->focus
Error: CPPCHECK_WARNING (CWE-457): [#def158]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3906: error[uninitvar]: Uninitialized variable: seat->pointer.focus
Error: CPPCHECK_WARNING (CWE-457): [#def159]
SDL3-3.4.0/src/video/wayland/SDL_waylandevents.c:3916: error[uninitvar]: Uninitialized variable: seat->keyboard.focus
Error: CPPCHECK_WARNING (CWE-457): [#def160]
SDL3-3.4.0/src/video/wayland/SDL_waylandkeyboard.c:182: error[uninitvar]: Uninitialized variable: seat->keyboard.focus
Error: CPPCHECK_WARNING (CWE-457): [#def161]
SDL3-3.4.0/src/video/wayland/SDL_waylandkeyboard.c:203: error[uninitvar]: Uninitialized variable: seat->keyboard.focus
Error: CPPCHECK_WARNING (CWE-457): [#def162]
SDL3-3.4.0/src/video/wayland/SDL_waylandkeyboard.c:225: error[uninitvar]: Uninitialized variable: seat->text_input.zwp_text_input
Error: CPPCHECK_WARNING (CWE-457): [#def163]
SDL3-3.4.0/src/video/wayland/SDL_waylandkeyboard.c:270: error[uninitvar]: Uninitialized variable: seat->keyboard.wl_keyboard
Error: CPPCHECK_WARNING (CWE-457): [#def164]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:900: error[uninitvar]: Uninitialized variable: seat->pointer.current_cursor
Error: CPPCHECK_WARNING (CWE-457): [#def165]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:914: error[uninitvar]: Uninitialized variables: c.size, c.node
Error: CPPCHECK_WARNING (CWE-457): [#def166]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:1038: error[ctuuninitvar]: Using argument state that points at uninitialized variable tool->cursor_state
Error: CPPCHECK_WARNING (CWE-457): [#def167]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:1168: error[uninitvar]: Uninitialized variable: seat->pointer.wl_pointer
Error: CPPCHECK_WARNING (CWE-457): [#def168]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:1178: error[uninitvar]: Uninitialized variable: tool->wltool
Error: CPPCHECK_WARNING (CWE-457): [#def169]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:1259: error[uninitvar]: Uninitialized variable: seat->pointer.focus
Error: CPPCHECK_WARNING (CWE-457): [#def170]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:1278: error[uninitvar]: Uninitialized variable: seat->pointer.focus
Error: CPPCHECK_WARNING (CWE-457): [#def171]
SDL3-3.4.0/src/video/wayland/SDL_waylandmouse.c:1349: error[uninitvar]: Uninitialized variable: seat->pointer.buttons_pressed
Error: CPPCHECK_WARNING (CWE-457): [#def172]
SDL3-3.4.0/src/video/wayland/SDL_waylandvideo.c:1376: error[uninitvar]: Uninitialized variable: seat->registry_id
Error: CPPCHECK_WARNING (CWE-457): [#def173]
SDL3-3.4.0/src/video/wayland/SDL_waylandvideo.c:1553: error[uninitvar]: Uninitialized variables: seat.display, seat.wl_seat, seat.data_device, seat.primary_selection_device, seat.name, seat.link, seat.last_implicit_grab_serial, seat.registry_id, seat.keyboard, seat.pointer, seat.touch, seat.text_input, seat.tablet
Error: CPPCHECK_WARNING (CWE-562): [#def174]
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:642: error[returnDanglingLifetime]: Returning pointer to local variable 'out_count' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def175]
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:642: error[returnDanglingLifetime]: Returning pointer to local variable 'vi_in' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:674:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘framebuffer_config’
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:645:14: enter_function: entry to ‘X11_GL_GetVisual’
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:652:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:657:9: branch_false: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:657:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:658:9: branch_true: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:657:9: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:660:13: branch_true: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:662:9: call_function: calling ‘X11_GL_GetAttributes’ from ‘X11_GL_GetVisual’
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:662:9: return_function: returning to ‘X11_GL_GetVisual’ from ‘X11_GL_GetAttributes’
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:664:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:664:36: branch_true: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:664:13: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:669:12: branch_false: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:669:12: branch_true: following ‘true’ branch (when ‘transparent != 0’)...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:669:12: branch_true: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:672:25: branch_true: following ‘true’ branch...
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:674:25: branch_true: ...to here
SDL3-3.4.0/src/video/x11/SDL_x11opengl.c:674:25: danger: dereference of NULL ‘framebuffer_config + (long unsigned int)i * 8’
Error: CPPCHECK_WARNING (CWE-562): [#def177]
SDL3-3.4.0/src/video/x11/SDL_x11opengles.c:111: error[returnDanglingLifetime]: Returning pointer to local variable 'out_count' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def178]
SDL3-3.4.0/src/video/x11/SDL_x11opengles.c:111: error[returnDanglingLifetime]: Returning pointer to local variable 'vi_in' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def179]
SDL3-3.4.0/src/video/x11/xsettings-client.c:752:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*list.next’
SDL3-3.4.0/src/video/x11/xsettings-client.c:669:1: enter_function: entry to ‘xsettings_list_copy’
SDL3-3.4.0/src/video/x11/xsettings-client.c:675:10: branch_true: following ‘true’ branch (when ‘old_iter’ is non-NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:679:18: branch_true: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:680:10: branch_false: following ‘false’ branch (when ‘new_node’ is non-NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:683:27: branch_false: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:683:27: call_function: calling ‘xsettings_setting_copy’ from ‘xsettings_list_copy’
SDL3-3.4.0/src/video/x11/xsettings-client.c:683:27: return_function: returning to ‘xsettings_list_copy’ from ‘xsettings_setting_copy’
SDL3-3.4.0/src/video/x11/xsettings-client.c:684:10: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/x11/xsettings-client.c:690:10: branch_false: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:690:10: branch_false: following ‘false’ branch (when ‘new_iter’ is NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:695:11: branch_false: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:675:10: branch_true: following ‘true’ branch (when ‘old_iter’ is non-NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:679:18: branch_true: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:680:10: branch_false: following ‘false’ branch (when ‘new_node’ is non-NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:683:27: branch_false: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:683:27: call_function: calling ‘xsettings_setting_copy’ from ‘xsettings_list_copy’
SDL3-3.4.0/src/video/x11/xsettings-client.c:683:27: return_function: returning to ‘xsettings_list_copy’ from ‘xsettings_setting_copy’
SDL3-3.4.0/src/video/x11/xsettings-client.c:684:10: branch_false: following ‘false’ branch...
SDL3-3.4.0/src/video/x11/xsettings-client.c:690:10: branch_false: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:690:10: branch_true: following ‘true’ branch (when ‘new_iter’ is non-NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:691:9: branch_true: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:675:10: branch_true: following ‘true’ branch (when ‘old_iter’ is non-NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:679:18: branch_true: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:680:10: branch_true: following ‘true’ branch (when ‘new_node’ is NULL)...
SDL3-3.4.0/src/video/x11/xsettings-client.c:681:9: branch_true: ...to here
SDL3-3.4.0/src/video/x11/xsettings-client.c:707:3: call_function: calling ‘xsettings_list_free’ from ‘xsettings_list_copy’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def180]
SDL3-3.4.0/test/checkkeys.c:102:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/test/checkkeys.c:446:5: enter_function: entry to ‘main’
SDL3-3.4.0/test/checkkeys.c:457:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/checkkeys.c:460:5: branch_false: ...to here
SDL3-3.4.0/test/checkkeys.c:463:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/checkkeys.c:468:5: branch_true: ...to here
SDL3-3.4.0/test/checkkeys.c:471:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/checkkeys.c:476:55: branch_true: ...to here
SDL3-3.4.0/test/checkkeys.c:477:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/checkkeys.c:477:8: branch_false: ...to here
SDL3-3.4.0/test/checkkeys.c:511:5: call_function: calling ‘PrintModifierState’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
SDL3-3.4.0/test/checkkeys.c:353:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
SDL3-3.4.0/test/checkkeys.c:446:5: enter_function: entry to ‘main’
SDL3-3.4.0/test/checkkeys.c:457:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/checkkeys.c:460:5: branch_false: ...to here
SDL3-3.4.0/test/checkkeys.c:463:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/checkkeys.c:468:5: branch_true: ...to here
SDL3-3.4.0/test/checkkeys.c:471:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/checkkeys.c:476:55: branch_true: ...to here
SDL3-3.4.0/test/checkkeys.c:477:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/checkkeys.c:477:8: branch_false: ...to here
SDL3-3.4.0/test/checkkeys.c:519:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/checkkeys.c:520:9: branch_true: ...to here
SDL3-3.4.0/test/checkkeys.c:520:9: call_function: calling ‘loop’ from ‘main’
Error: CPPCHECK_WARNING (CWE-758): [#def182]
SDL3-3.4.0/test/testatomic.c:110: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def183]
SDL3-3.4.0/test/testatomic.c:121: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def184]
SDL3-3.4.0/test/testatomic.c:187: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def185]
SDL3-3.4.0/test/testatomic.c:189: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def186]
SDL3-3.4.0/test/testatomic.c:196: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def187]
SDL3-3.4.0/test/testatomic.c:198: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def188]
SDL3-3.4.0/test/testatomic.c:233: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def189]
SDL3-3.4.0/test/testatomic.c:235: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def190]
SDL3-3.4.0/test/testatomic.c:237: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def191]
SDL3-3.4.0/test/testatomic.c:238: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def192]
SDL3-3.4.0/test/testatomic.c:240: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def193]
SDL3-3.4.0/test/testatomic.c:245: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-404): [#def194]
SDL3-3.4.0/test/testaudio.c:140:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/test/testaudio.c:1121:15: enter_function: entry to ‘SDL_AppEvent’
SDL3-3.4.0/test/testaudio.c:1130:21: call_function: calling ‘UpdateMouseOver’ from ‘SDL_AppEvent’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def195]
SDL3-3.4.0/test/testaudio.c:502:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
SDL3-3.4.0/test/testaudio.c:953:13: enter_function: entry to ‘PhysicalDeviceThing_ondrop’
SDL3-3.4.0/test/testaudio.c:955:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testaudio.c:956:13: branch_true: ...to here
SDL3-3.4.0/test/testaudio.c:956:12: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testaudio.c:957:13: branch_true: ...to here
SDL3-3.4.0/test/testaudio.c:957:13: call_function: calling ‘TrashThing’ from ‘PhysicalDeviceThing_ondrop’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def196]
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:99:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:201:13: enter_function: entry to ‘loop’
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:298:17: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:300:30: branch_true: ...to here
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:305:21: branch_true: following ‘true’ branch (when ‘j != 3’)...
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:309:13: branch_true: ...to here
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:319:13: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:320:52: branch_true: ...to here
SDL3-3.4.0/test/testaudiostreamdynamicresample.c:319:13: call_function: calling ‘draw_textf’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def197]
SDL3-3.4.0/test/testautomation_intrinsics.c:261:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/test/testautomation_intrinsics.c:514:20: enter_function: entry to ‘intrinsics_testSSE4_2’
SDL3-3.4.0/test/testautomation_intrinsics.c:532:25: branch_true: following ‘true’ branch (when ‘i != 3’)...
SDL3-3.4.0/test/testautomation_intrinsics.c:533:33: branch_true: ...to here
SDL3-3.4.0/test/testautomation_intrinsics.c:533:33: call_function: calling ‘calculate_crc32c_sse4_2’ from ‘intrinsics_testSSE4_2’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def198]
SDL3-3.4.0/test/testautomation_intrinsics.c:264:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
SDL3-3.4.0/test/testautomation_intrinsics.c:514:20: enter_function: entry to ‘intrinsics_testSSE4_2’
SDL3-3.4.0/test/testautomation_intrinsics.c:532:25: branch_true: following ‘true’ branch (when ‘i != 3’)...
SDL3-3.4.0/test/testautomation_intrinsics.c:533:33: branch_true: ...to here
SDL3-3.4.0/test/testautomation_intrinsics.c:533:33: call_function: calling ‘calculate_crc32c_sse4_2’ from ‘intrinsics_testSSE4_2’
Error: CPPCHECK_WARNING (CWE-457): [#def199]
SDL3-3.4.0/test/testautomation_rect.c:1498: error[uninitvar]: Uninitialized variable: points
Error: GCC_ANALYZER_WARNING (CWE-404): [#def200]
SDL3-3.4.0/test/testcolorspace.c:177:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/test/testcolorspace.c:176:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/test/testcolorspace.c:177:5: throw: if ‘SDL_vasprintf’ throws an exception...
SDL3-3.4.0/test/testcolorspace.c:177:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def201]
SDL3-3.4.0/test/testlock.c:70:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
SDL3-3.4.0/test/testlock.c:79:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testlock.c:80:15: branch_true: ...to here
SDL3-3.4.0/test/testlock.c:54:13: enter_function: entry to ‘closemutex’
SDL3-3.4.0/test/testlock.c:60:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/testlock.c:67:5: branch_false: ...to here
SDL3-3.4.0/test/testlock.c:69:8: branch_true: following ‘true’ branch (when ‘sig != 0’)...
SDL3-3.4.0/test/testlock.c:70:9: branch_true: ...to here
SDL3-3.4.0/test/testlock.c:70:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-404): [#def202]
SDL3-3.4.0/test/testprocess.c:56:23: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
SDL3-3.4.0/test/testprocess.c:50:5: acquire_resource: ‘va_start’ called here
SDL3-3.4.0/test/testprocess.c:53:12: branch_false: following ‘false’ branch (when ‘keyN’ is non-NULL)...
SDL3-3.4.0/test/testprocess.c:56:16: branch_false: ...to here
SDL3-3.4.0/test/testprocess.c:56:23: throw: if ‘SDL_strdup’ throws an exception...
SDL3-3.4.0/test/testprocess.c:56:23: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
SDL3-3.4.0/test/testvulkan.c:721:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
SDL3-3.4.0/test/testvulkan.c:1095:5: enter_function: entry to ‘main’
SDL3-3.4.0/test/testvulkan.c:1106:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/testvulkan.c:1111:5: branch_false: ...to here
SDL3-3.4.0/test/testvulkan.c:1114:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testvulkan.c:1129:5: call_function: calling ‘initVulkan’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
SDL3-3.4.0/test/testvulkan.c:731:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
SDL3-3.4.0/test/testvulkan.c:1095:5: enter_function: entry to ‘main’
SDL3-3.4.0/test/testvulkan.c:1106:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/testvulkan.c:1111:5: branch_false: ...to here
SDL3-3.4.0/test/testvulkan.c:1114:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testvulkan.c:1129:5: call_function: calling ‘initVulkan’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
SDL3-3.4.0/test/testvulkan.c:743:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
SDL3-3.4.0/test/testvulkan.c:1095:5: enter_function: entry to ‘main’
SDL3-3.4.0/test/testvulkan.c:1106:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/testvulkan.c:1111:5: branch_false: ...to here
SDL3-3.4.0/test/testvulkan.c:1114:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testvulkan.c:1129:5: call_function: calling ‘initVulkan’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
SDL3-3.4.0/test/testvulkan.c:822:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
SDL3-3.4.0/test/testvulkan.c:1095:5: enter_function: entry to ‘main’
SDL3-3.4.0/test/testvulkan.c:1106:8: branch_false: following ‘false’ branch...
SDL3-3.4.0/test/testvulkan.c:1111:5: branch_false: ...to here
SDL3-3.4.0/test/testvulkan.c:1114:8: branch_true: following ‘true’ branch...
SDL3-3.4.0/test/testvulkan.c:1129:5: call_function: calling ‘initVulkan’ from ‘main’
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-167.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | SDL3-3.4.0-1.fc44 |
| store-results-to | /tmp/tmp0v8lh_tj/SDL3-3.4.0-1.fc44.tar.xz |
| time-created | 2026-01-08 15:26:57 |
| time-finished | 2026-01-08 15:36:58 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp0v8lh_tj/SDL3-3.4.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp0v8lh_tj/SDL3-3.4.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |