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 750eec96a1113062f2ca876415d0d6a81722b7da Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Oct 31 05:18:04 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:45:10 2026 +0100 avcodec/psd: reject an uncompressed image size above INT_MAX Fixes: out of array write Fixes: MymIHidCHVJu Fixes: AISLE-2026-0150-00348 Out of array write Replicated through UnModified FFmpeg (32-bit) with ASAN Found-by: Joshua Rogers (AISLE) (cherry picked from commit aa4b80b54ee8645b5a77fe835ab2bbae1c9c465c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/psd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/psd.c b/libavcodec/psd.c index 9dc56f8f5e..f4973ecb7e 100644 --- a/libavcodec/psd.c +++ b/libavcodec/psd.c @@ -444,6 +444,8 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *picture, } s->uncompressed_size = s->line_size * s->height * s->channel_count; + if (s->uncompressed_size > INT_MAX) + return AVERROR_INVALIDDATA; /* decode picture if need */ if (s->compression == PSD_RLE) { -- 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]
