opnsense-src/sys/boot/efi/libefi
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
..
delay.c Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
devpath.c loader: Replace EFI part devices. 2017-02-06 09:18:47 +00:00
efi_console.c When the EFI implementation (like U-Boot) does not support WaitForKey, we 2016-08-29 20:01:53 +00:00
efichar.c Share UCS2/UTF8 routines between boot loader and userland. 2017-03-09 00:24:01 +00:00
efinet.c loader: network read rework 2017-05-06 20:32:27 +00:00
efipart.c Integer underflow in efipart_realstrategy when I/O starts after end of disk 2017-07-01 20:25:22 +00:00
env.c loader: libefi/env.c warnings in arm build 2017-02-03 16:39:10 +00:00
errno.c Major rework of the ia64 loaders. The two primary objectives are: 2006-11-05 22:03:04 +00:00
handles.c Add EFI ZFS boot support 2016-01-15 02:33:47 +00:00
libefi.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
Makefile Do not use -msoft-float with intention of disabling FP on aarch64 2017-04-07 22:58:25 +00:00
Makefile.depend META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
time.c loader: network read rework 2017-05-06 20:32:27 +00:00
time_event.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
wchar.c loader.efi environment related cleanups 2017-02-01 08:46:59 +00:00