audk/EmbeddedPkg/Drivers
Ard Biesheuvel e1455b0412 EmbeddedPkg: do not ASSERT() on valid external input
Since ASSERT()s are enabled even on all ArmPlatformPkg RELEASE
builds, ASSERT()ing on a valid FDT header will crash the firmware
if the user selects an incorrect file. Since ASSERT() is meant to
catch internal inconsistencies in the firmware, its use here is
inappropriate.

Instead, handle it as a normal error condition.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17309 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-05 15:51:44 +00:00
..
AndroidFastbootTransportTcpDxe ARM Packages: Fixed missing braces (the warning was disabled by GCC) 2014-06-20 18:24:51 +00:00
AndroidFastbootTransportUsbDxe EmbeddedPkg/AndroidFastbootTransportUsbDxe: Implemented Android FastBoot over USB 2014-03-05 04:51:31 +00:00
FdtPlatformDxe EmbeddedPkg: do not ASSERT() on valid external input 2015-05-05 15:51:44 +00:00
Isp1761UsbDxe ARM Packages: Corrected non-DOS line endings 2014-08-19 13:22:20 +00:00
Lan9118Dxe EmbeddedPkg/Lan9118Dxe: Fix risk of buffer overflow. 2015-04-02 13:50:18 +00:00