Fix compile error in libarchive

This commit is contained in:
Abhishek Arya 2017-01-21 08:19:48 -08:00 committed by GitHub
parent 555a80407b
commit 89ae65d516
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}