Julien Voisin
646285eeda
Simplify libarchive's fuzzer ( #8781 )
...
Co-authored-by: Julien Voisin <jvoisin@google.com>
2022-10-14 17:56:28 +01:00
Julien Voisin
cd51dc3672
Increase a bit the coverage of libarchive ( #8779 )
...
Exercise archive_entry related functions
Co-authored-by: Julien Voisin <jvoisin@google.com>
2022-10-14 16:32:25 +01:00
Julien Voisin
16bf2e52de
Improve coverage of tar files in libarchive ( #8744 )
...
Co-authored-by: Julien Voisin <jvoisin@google.com>
2022-10-11 14:29:35 +01:00
Julien Voisin
7b2df00056
Enable all formats for libarchive ( #8731 )
...
By default, raw and empty aren't enabled.
Co-authored-by: Julien Voisin <jvoisin@google.com>
2022-10-10 15:46:47 +01:00
Julien Voisin
47e450b05a
Ignore crc32 in zip files in libarchive ( #8732 )
...
Taken from
1385cd9c51/libarchive/test/test_write_format_zip_large.c (L293)
while waiting for https://github.com/libarchive/libarchive/issues/1788
Co-authored-by: Julien Voisin <jvoisin@google.com>
2022-10-10 15:46:24 +01:00
Martin Matuška
a996649c2c
[libarchive] process archive_read_next_header() return codes like bsdtar ( #2427 )
...
ARCHIVE_EOF and ARCHIVE_FATAL are the only valid exit codes
ARCHIVE_RETRY should read to re-entering the loop
All other codes (ARCHIVE_OK, ARCHIVE_WARN, ARCHIVE_FAILED) do not prohibit
the caller from reading data and next headers.
This behavior is identical with bsdtar (tar/read.c) and enables better
discovery of possible bugs by fuzzing.
2019-05-16 10:11:20 -07:00
Martin Matuška
c7608cc5fe
[libarchive] fix wrongly placed parentheses in 89ae65d
( #307 )
2017-01-22 06:22:08 -08:00
Abhishek Arya
89ae65d516
Fix compile error in libarchive
2017-01-21 08:19:48 -08:00
Martin Matuška
555a80407b
[libarchive] correctly exit on read error in libarchive_fuzzer.cc ( #305 ) ( #305 )
...
Thanks!
As we are discussing in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=234#c6
we encourage you to move this file into your repo.
https://github.com/google/oss-fuzz/blob/master/docs/ideal_integration.md
2017-01-20 19:33:38 -08:00
Mike Aizatsky
a143b9b39a
[infra] renaming targets/ to projects/
2016-11-29 10:55:25 -08:00