This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a106a10679e41fc1932bd8fc75bcee2b6ee443f5 Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Oct 10 04:53:31 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Mon Oct 12 23:55:55 2026 +0000 avcodec/cbs_apv: reject a frame width or height of 0 Division by zero Replicated through API with UBSAN Fixes: division by zero Fixes: 538197062/clusterfuzz-testcase-minimized-ffmpeg_BSF_APV_METADATA_fuzzer-6204722298814464 Fixes: p9U20UaYiMFw Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/cbs_apv_syntax_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cbs_apv_syntax_template.c b/libavcodec/cbs_apv_syntax_template.c index 1a97878bb9..f8c902d95b 100644 --- a/libavcodec/cbs_apv_syntax_template.c +++ b/libavcodec/cbs_apv_syntax_template.c @@ -71,8 +71,8 @@ static int FUNC(frame_info)(CodedBitstreamContext *ctx, RWContext *rw, u(5, reserved_zero_5bits, 0, 0); - ub(24, frame_width); - ub(24, frame_height); + u(24, frame_width, 1, MAX_UINT_BITS(24)); + u(24, frame_height, 1, MAX_UINT_BITS(24)); u(4, chroma_format_idc, 0, 4); if (current->chroma_format_idc == 1) { -- 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]
