freebsd-dev/sys/boot/efi
Allan Jude e11bad9d2b Integer underflow in efipart_realstrategy when I/O starts after end of disk
This fixes an integer underflow in efipart_realstrategy, which causes
crashes when an I/O operation's start point is after the end of the disk.
This can happen when trying to detect filesystems on very small disks.
This can occur if a BIOS freebsd-boot partition exists on a system when the
EFI loader is being used.

PR:		219000
Submitted by:	Eric McCorkle <eric@metricspace.net>
Reviewed by:	cem (previous version), tsoome (previous version)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D10559
2017-07-01 20:25:22 +00:00
..
boot1 Link EFI/uboot loaders with -znotext 2017-07-01 18:48:15 +00:00
fdt Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00
include Make structure padding explicit in EFI_MEMORY_DESCRIPTOR 2017-06-22 14:30:09 +00:00
libefi Integer underflow in efipart_realstrategy when I/O starts after end of disk 2017-07-01 20:25:22 +00:00
loader Link EFI/uboot loaders with -znotext 2017-07-01 18:48:15 +00:00
Makefile Fix typo in the COMPILER_VERSION check 2016-10-22 20:00:39 +00:00
Makefile.inc Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00