]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/commit
MFS r285951: Avoid creating invalid UEFI device path
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jul 2015 13:11:31 +0000 (13:11 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jul 2015 13:11:31 +0000 (13:11 +0000)
commit99ac3d584e47db92bcfa8d0c48d942d0abad9fc6
treea440df0a743bb52308f77c528ec29a613181c208
parentcee2d1b144ead3b96131aff33c523c81dbcc6871
MFS r285951: Avoid creating invalid UEFI device path

The UEFI loader on the 10.1 release install disk (disc1) modifies an
existing EFI_DEVICE_PATH_PROTOCOL instance in an apparent attempt to
truncate the device path.  In doing so it creates an invalid device
path.

Perform the equivalent action without modification of structures
allocated by firmware.

PR: 197641
Submitted by: Chris Ruffin <chris.ruffin at intel.com>
Approved by: re (gjb)

git-svn-id: https://svn.freebsd.org/base/releng/10.2@285956 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/efi/libefi/efipart.c