This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit df9d9862472d6e2c232ccd55f3fe0aad6a623d6c Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Nov 18 15:52:19 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 14:56:30 2026 +0100 avcodec/apv_decode: do not start a further primary frame of a packet after ff_thread_finish_setup() Fixes: out of array write Fixes: zrDwkIvkDrGG Fixes: ANT-2026-PUXQAX52 Regression since: 300cac3078 Found-by: Anthropic's OSS Scanner Out of array write Replicated through UnModified FFmpeg with ASAN (cherry picked from commit 75afa63b62c695d38e387ff5d3924144ba2f54a3) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/apv_decode.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c index ef5f83d723..11c13c16d6 100644 --- a/libavcodec/apv_decode.c +++ b/libavcodec/apv_decode.c @@ -362,6 +362,12 @@ static int apv_decode(AVCodecContext *avctx, AVFrame *output, APVDerivedTileInfo *tile_info = &apv->tile_info; int err, job_count; + if (!ff_thread_can_start_frame(avctx)) { + av_log(avctx, AV_LOG_ERROR, "Multiple primary frames in a packet " + "are not supported with frame threading.\n"); + return AVERROR_PATCHWELCOME; + } + err = apv_decode_check_format(avctx, &input->frame_header); if (err < 0) { av_log(avctx, AV_LOG_ERROR, "Unsupported format parameters.\n"); -- 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]
