This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 403b3c294f765a0a3395cb3ffb72e23d8633cb56 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Oct 6 07:33:31 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Oct 13 02:29:51 2026 +0000 avformat/options: Set the stream group type after allocating its parameters The fix is one of the two recommended in the report. Fixes: NULL pointer dereference Fixes: Ks5s2XRvqzXe Fixes: AISLE-2026-0111-00423 NULL pointer dereference Replicated through UnModified FFprobe with an allocation failure injected by gdb Found-by: Joshua Rogers <[email protected]> --- libavformat/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/options.c b/libavformat/options.c index abdabca15f..df7b6434d8 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -490,7 +490,6 @@ AVStreamGroup *avformat_stream_group_create(AVFormatContext *s, stg->av_class = &stream_group_class; av_opt_set_defaults(stg); - stg->type = type; switch (type) { case AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT: stg->params.iamf_audio_element = av_iamf_audio_element_alloc(); @@ -528,6 +527,7 @@ AVStreamGroup *avformat_stream_group_create(AVFormatContext *s, default: goto fail; } + stg->type = type; if (options) { if (av_opt_set_dict2(stg, options, AV_OPT_SEARCH_CHILDREN)) -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
