mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-11 05:14:27 +00:00
a4e290e425
Unconditionally check the magic number before BZ2_bzReadOpen()
instead of only when bzip_blocksize=0, since it falls through.
That way if the file is not compressed it will return immediately
and map_file can mmap it. If the file is compressed then it will
go through the BZ2 functions and any errors will be reported correctly.
This fixes
|
||
---|---|---|
.. | ||
example | ||
include | ||
man | ||
src | ||
tests | ||
utils | ||
.gitignore | ||
ChangeLog | ||
COPYING | ||
Makefile | ||
VERSION |