mirror of https://github.com/Cisco-Talos/clamav
Sometimes PDF claims the zlib data is longer/shorter than it really is. We always prefer the longest one, which can lead zlib to return an error when we run off the end. So dump the remaining extracted data from zlib's buffer to disk, it usually contains all we need already (and if not we're going to dump the raw inflate stream anyway). This fixes 3 missed samples of Exploit.PDF-60 in the regression test.0.96
parent
1bb5a24d3e
commit
89590e9974
Loading…
Reference in new issue