Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libarchive: fix harness and improve build setup (#12052)
This fixes a major harness issue in the `libarchive` fuzzer and resolves a fuzzing roadblock issue related to the build setup. All calls after `archive_read_add_passphrase` currently exit early because the decoder state is marked as invalid due to incorrect API usage. When combined with libarchive/libarchive#2229, this should improve coverage from ~15% to >45%. While the harness issue [regressed](#9452 (comment)) at some point, it seems like the CRC build flag issue was always present in oss-fuzz's libarchive setup. Thanks!
- Loading branch information