Files
zoneminder/src
Isaac ConnorandClaude Opus 4.8 ac5fe49d57 fix: guard against null video out stream in encode path fixes #4946
avformat_new_stream() can return NULL, and the encode/transcode branch
dereferenced it immediately via ->codecpar when calling
avcodec_parameters_from_context, segfaulting zmc on the Event recording
thread (SIGSEGV, fault address 0xc). The encoder opens fine; it is the
output stream allocation that comes back NULL.

Check the return value and fail open() gracefully, matching the guard
already present on the PASSTHROUGH path a few lines above.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:13:49 -04:00
..
2013-03-17 00:45:21 +01:00
2024-10-26 14:29:40 -04:00
2024-03-26 13:43:58 -05:00
2024-10-26 14:29:40 -04:00
2025-07-05 08:09:09 -04:00
2021-05-30 21:41:58 +02:00
2026-01-29 18:50:42 -05:00
2026-06-25 17:30:35 -04:00
2024-10-29 13:30:29 -04:00
2025-02-26 21:04:32 +11:00
2025-02-26 21:04:32 +11:00
2023-01-18 16:01:42 -05:00
2025-07-05 08:09:09 -04:00
2025-07-05 08:09:09 -04:00
2026-01-05 16:36:36 -05:00
2026-01-05 16:36:36 -05:00