From: Sebastian Freundt Date: Tue, 10 Jun 2014 11:00:20 +0000 (+0000) Subject: Fix, an empty WARC archive needs a bit more than 256 bytes. X-Git-Tag: v3.1.900a~295^2^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e251bcfa9439b588ed90b6a7a4e87cdfa87774bc;p=thirdparty%2Flibarchive.git Fix, an empty WARC archive needs a bit more than 256 bytes. --- diff --git a/libarchive/test/test_write_format_warc_empty.c b/libarchive/test/test_write_format_warc_empty.c index 905536e26..0bd31bd7f 100644 --- a/libarchive/test/test_write_format_warc_empty.c +++ b/libarchive/test/test_write_format_warc_empty.c @@ -30,7 +30,7 @@ DEFINE_TEST(test_write_format_warc_empty) { struct archive *a; struct archive_entry *ae; - char buff[256U]; + char buff[512U]; size_t used; /* Create a new archive in memory. */