This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 87cdb6cd6a8d1ec201cb82b30e64d5f946939e23 Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Oct 24 05:47:15 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Wed Oct 28 22:40:37 2026 +0000 avcodec/liboapvenc: copy the input with the dimensions of the codec context Fixes: out of array write Fixes: HwSE6IYkyPvk (AISLE-2026-0150-00139) Out of array write Replicated through API with ASAN Found-by: Joshua Rogers <[email protected]> --- libavcodec/liboapvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/liboapvenc.c b/libavcodec/liboapvenc.c index 32a8cd5f1c..0f59d65e14 100644 --- a/libavcodec/liboapvenc.c +++ b/libavcodec/liboapvenc.c @@ -582,7 +582,7 @@ static int liboapve_encode(AVCodecContext *avctx, AVPacket *avpkt, int ret; av_image_copy2((uint8_t **)imgb->a, imgb->s, frame->data, frame->linesize, - frame->format, frame->width, frame->height); + avctx->pix_fmt, avctx->width, avctx->height); imgb->ts[0] = frame->pts; -- 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]
