]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Read very large RAR headers incrementally
authorTim Kientzle <kientzle@acm.org>
Mon, 1 Feb 2016 05:43:23 +0000 (21:43 -0800)
committerTim Kientzle <kientzle@acm.org>
Mon, 1 Feb 2016 05:43:23 +0000 (21:43 -0800)
commitb2c8cdd0fc9d69ec4f1b41726fe5590ff6d5ccbf
treefa94e4db51a833b96482f1cbdec1d38c20151c69
parentd838ef201ae321d3de89c83de39bc3b96b3bae8f
Read very large RAR headers incrementally

Formerly, libarchive tried to read the entire header into
memory at once, which created problems for malformed RAR
files with 4GB header sizes.  This was causing occasional
crashes of the test suite on memory-limited systems.
libarchive/archive_read_support_format_rar.c