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 e17d84ac8a avcodec/vp9: fix cbs fragment leak on error
e17d84ac8a is described below

commit e17d84ac8a8230b420d67a591ba8bcd7b9289107
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sun Mar 22 20:36:53 2026 +0100
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Mar 25 14:02:19 2026 +0000

    avcodec/vp9: fix cbs fragment leak on error
    
    Fixes: c0bf1382a757a4dd45b0c5f8ab70578e7126beca
    Fixes: 
490257166/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-6185031050788864
    Fixes: 
490131106/clusterfuzz-testcase-minimized-fuzzer_loadfile-5438205762797568
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavcodec/vp9.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 1f34197a28..9a3d5f49f5 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1825,6 +1825,7 @@ finish:
 
     return pkt->size;
 fail:
+    ff_cbs_fragment_reset(&s->current_frag);
     ff_progress_frame_report(&s->s.frames[CUR_FRAME].tf, INT_MAX);
     return ret;
 }

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to