From 89ae65d5162cde7f2d11843ebdbfca9af005fbe2 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Sat, 21 Jan 2017 08:19:48 -0800 Subject: [PATCH] Fix compile error in libarchive --- projects/libarchive/libarchive_fuzzer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/libarchive/libarchive_fuzzer.cc b/projects/libarchive/libarchive_fuzzer.cc index 9d0d0a324..3ab700cf6 100644 --- a/projects/libarchive/libarchive_fuzzer.cc +++ b/projects/libarchive/libarchive_fuzzer.cc @@ -48,7 +48,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) { while (archive_read_next_header(a, &entry) == ARCHIVE_OK) { while ((r = archive_read_data(a, data_buffer.data(), data_buffer.size()) > 0) - ; + ); if (r == ARCHIVE_FATAL) break; }