]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix, an empty WARC archive needs a bit more than 256 bytes.
authorSebastian Freundt <freundt@ga-group.nl>
Tue, 10 Jun 2014 11:00:20 +0000 (11:00 +0000)
committerSebastian Freundt <freundt@ga-group.nl>
Tue, 10 Jun 2014 11:00:20 +0000 (11:00 +0000)
libarchive/test/test_write_format_warc_empty.c

index 905536e265154c8de5e87b5b2ebcb4b14799cc1b..0bd31bd7f8cbcb622beb6a1210845c18a9dcbf98 100644 (file)
@@ -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. */