This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 73e91f7f41172e0b3b919e0cb53586bd7e5c678a Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Nov 16 19:10:29 2026 +0100 Commit: michaelni <[email protected]> CommitDate: Tue Nov 17 23:12:24 2026 +0000 avcodec/pgssubdec: reject object data lengths smaller than the dimension fields The object data length includes the 4 bytes of width and height. A smaller length wrapped around and was only rejected by the allocation failing with ENOMEM. --- libavcodec/pgssubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c index 3a4b60f419..af1c9536d8 100644 --- a/libavcodec/pgssubdec.c +++ b/libavcodec/pgssubdec.c @@ -236,7 +236,7 @@ static int parse_object_segment(AVCodecContext *avctx, PGSSubObject *object; uint8_t sequence_desc; - unsigned int rle_bitmap_len, width, height; + int rle_bitmap_len, width, height; int id; if (buf_size <= 4) -- 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]
