]> git.ipfire.org Git - thirdparty/libarchive.git/commit
fix, never write more bytes in _warc_data() than ...
authorSebastian Freundt <freundt@ga-group.nl>
Wed, 21 May 2014 12:32:50 +0000 (12:32 +0000)
committerSebastian Freundt <freundt@ga-group.nl>
Wed, 21 May 2014 12:32:50 +0000 (12:32 +0000)
commitfaa12ea4c2ce2898cd009d4d14cb4aa6e07620a0
tree4285312b1fcdaff8e587625aa21660cc3cf66415
parentaf78448244b39da3c2a867d5c9fccc1909e1c0aa
fix, never write more bytes in _warc_data() than ...

previously announce in _warc_header().

The test suite (as is) is one offender.  It populates a 9-byte string, mimicking an IFREG file
but by the time the header makes it into the archive, the size changes from 0 to 9.
libarchive/archive_write_set_format_warc.c