FLIF icon indicating copy to clipboard operation
FLIF copied to clipboard

Out of memory in FLIF

Open xcainiao opened this issue 7 years ago • 0 comments

./flif ./poc ./output.flif git log

commit d0ade78f07ba78ca6accb48e6943c4e28ba1b373
Merge: 9d63d5d 2392d62
Author: Jon Sneyers <[email protected]>
Date:   Fri Jan 12 10:00:16 2018 +0200

    Merge pull request #480 from vilyaair/master
    
    Set standard streams from text mode to binary mode on Windows.
==24468== ERROR: libFuzzer: out-of-memory (malloc(4328785978))
   To change the out-of-memory limit use -rss_limit_mb=<N>

    #0 0x4ea4d3  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x4ea4d3)
    #1 0x520d71  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x520d71)
    #2 0x520cba  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x520cba)
    #3 0x4f3961  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x4f3961)
    #4 0x4259cc  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x4259cc)
    #5 0x426744  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x426744)
    #6 0x513cd8  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x513cd8)
    #7 0x52d68c  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x52d68c)
    #8 0x7f6280c57f92  (/home/ubuntu/libfuzz/FLIF/src/libflif.so.0+0x1fcf92)
    #9 0x7f6280c4bdba  (/home/ubuntu/libfuzz/FLIF/src/libflif.so.0+0x1f0dba)
    #10 0x7f6280fa7fe0  (/home/ubuntu/libfuzz/FLIF/src/libflif.so.0+0x54cfe0)
    #11 0x7f6280fa9467  (/home/ubuntu/libfuzz/FLIF/src/libflif.so.0+0x54e467)
    #12 0x517ffa  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x517ffa)
    #13 0x522643  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x522643)
    #14 0x522870  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x522870)
    #15 0x5182f1  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x5182f1)
    #16 0x51aff8  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x51aff8)
    #17 0x518060  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x518060)
    #18 0x7f627f7cb82f  (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #19 0x41cb98  (/home/ubuntu/libfuzz/FLIF/src/fuzzer+0x41cb98)

SUMMARY: libFuzzer: out-of-memor

testcase:https://github.com/xcainiao/poc/blob/master/FLIF-oom-error-read_chunk

xcainiao avatar Jan 15 '18 05:01 xcainiao