This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 87c371e2ff avcodec/vp9: Fix memleak
87c371e2ff is described below
commit 87c371e2ff85f66ddac4b2291b62f9828db44100
Author: Michael Niedermayer <[email protected]>
AuthorDate: Sun Feb 22 22:41:29 2026 +0100
Commit: James Almer <[email protected]>
CommitDate: Tue Mar 3 02:13:58 2026 +0000
avcodec/vp9: Fix memleak
Fixes:
485523353/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-4582329227214848
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/vp9.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 454346532c..1f34197a28 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1607,10 +1607,12 @@ static int vp9_decode_frame(AVCodecContext *avctx,
AVFrame *frame,
s->frame_header = &rf->header;
if ((ret = decode_frame_header(avctx, data, size, &ref)) < 0) {
+ ff_cbs_fragment_reset(&s->current_frag);
return ret;
} else if (ret == 0) {
if (!s->s.refs[ref].f) {
av_log(avctx, AV_LOG_ERROR, "Requested reference %d not
available\n", ref);
+ ff_cbs_fragment_reset(&s->current_frag);
return AVERROR_INVALIDDATA;
}
for (int i = 0; i < 8; i++)
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]