This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/7.1
in repository ffmpeg.

commit fbd4397d9d6b86aa643ea9be017c2f117dbc2a22
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat May 30 19:48:14 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Jun 18 20:30:59 2026 +0200

    tools/target_dem_fuzzer: do not exit on io_buffer allocation failure
    
    Failure to allocate a randomly sized buffer should not count as a anomaly 
in the fuzzer
    there is nothing to fix in that case
    
    Fixes: 
490112574/clusterfuzz-testcase-minimized-ffmpeg_dem_TMV_fuzzer-6600485921685504
    Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 2cce6ad03062b4cb10298513353ce55576ba7712)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 tools/target_dem_fuzzer.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 8e96fad7f8..ad512f4c02 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools/target_dem_fuzzer.c
@@ -185,8 +185,11 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t 
size) {
         error("Failed to allocate pkt");
 
     io_buffer = av_malloc(io_buffer_size);
-    if (!io_buffer)
-        error("Failed to allocate io_buffer");
+    if (!io_buffer) {
+        avformat_free_context(avfmt);
+        av_packet_free(&pkt);
+        return 0;
+    }
 
     opaque.filesize = filesize;
     opaque.pos      = 0;

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

Reply via email to