obs-studio/shared
Ryan Foster 7cae57d3b7 media-playback: Fix possible crash if frame width or height is zero
If a frame has a width or height of zero, this value will make it into
libobs/media-io/video-frame.c:video_frame_init and cause linesizes or
heights to be zero, which will result in a bmalloc(0) call and OBS will
crash.

Instead of letting the call stack get that far, check the frame width
and height here at the source, log an error, and return early if the
frame width or height are zero.
2025-04-23 19:26:54 -04:00
..
bpm bpm: Fix potential null-pointer dereference 2025-02-14 16:19:13 -05:00
file-updater clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
happy-eyeballs clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
ipc-util clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
media-playback media-playback: Fix possible crash if frame width or height is zero 2025-04-23 19:26:54 -04:00
obs-d3d8-api cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
obs-hook-config win-capture: Avoid NULL deref when capture not initialized 2024-11-16 11:32:10 -08:00
obs-inject-library clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
obs-scripting clang-format: Update source code files with clang-format 19.1.1 2025-04-17 18:16:33 +02:00
obs-shared-memory-queue clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
obs-tiny-nv12-scale clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
opts-parser shared/opts-parser: Fix crash when no options were given to the parser 2024-10-08 13:53:07 -04:00
properties-view UI: Replace toolButton property with style class 2024-10-16 13:49:34 -04:00
qt clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00