This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 1ab2694560f75eadcf23f33718a737d0ec4bfeca Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Nov 17 00:34:44 2026 +0100 Commit: michaelni <[email protected]> CommitDate: Tue Nov 17 23:12:59 2026 +0000 avcodec/hevc/hevcdec: reject slices of a picture that is not the current one NULL pointer dereference Replicated through UnModified FFmpeg with ASAN Fixes: NULL pointer dereference Fixes: 580179382/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5261322888216576 Fixes: 580320486/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6478957072154624 Fixes: SP0JBx1mfohj Regression since: eedf8f0165fe6523be692c5a91ebf6744808335d Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/hevc/hevcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c index 06688306bd..be7b1a91bb 100644 --- a/libavcodec/hevc/hevcdec.c +++ b/libavcodec/hevc/hevcdec.c @@ -4429,7 +4429,7 @@ static int decode_slice(HEVCContext *s, unsigned nal_idx, GetBitContext *gb) ret = hevc_frame_start(s, l, nal_idx); if (ret < 0) return ret; - } else if (!l->cur_frame) { + } else if (!l->cur_frame || l->cur_frame != s->cur_frame) { av_log(s->avctx, AV_LOG_ERROR, "First slice in a frame missing.\n"); return AVERROR_INVALIDDATA; } -- 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]
