aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/loader/arch/arm64
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2020-03-14 05:57:22 +0000
committerXin LI <delphij@FreeBSD.org>2020-03-14 05:57:22 +0000
commita0eb385c2e9c6ca70a8e2f6267782cdfb836bb25 (patch)
treedaa73ff31d5a17fcd12dcb28f461c5b42d6e732c /stand/efi/loader/arch/arm64
parent81490eda6034d22794fc7a5e759f4288a0d0ef14 (diff)
downloadsrc-a0eb385c2e9c6ca70a8e2f6267782cdfb836bb25.tar.gz
src-a0eb385c2e9c6ca70a8e2f6267782cdfb836bb25.zip
Remove unneeded checks for prelen.
In order to determine the type of a compressed file, we have to read in the first four bytes which may also be important for decompression purposes, to do that we would pass the buffer that we have already read in, along with the size of it. Rename header1 to fourbytes to make that explicit, and remove all checks for prelen. Reported by: cem Reviewed by: cem MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24034
Notes
Notes: svn path=/head/; revision=358988
Diffstat (limited to 'stand/efi/loader/arch/arm64')
0 files changed, 0 insertions, 0 deletions