diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-05-05 15:51:44 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-05-05 15:51:44 +0000 |
commit | e1455b04126ce034301c81c0665d221af14464c6 (patch) | |
tree | fd4a9c28e2984d728f6021281d8b73622483bd86 /EmbeddedPkg/Application | |
parent | 5a44a766b597e4c9960ac1936e6d18001c5e7ce2 (diff) | |
download | edk2-platforms-e1455b04126ce034301c81c0665d221af14464c6.tar.xz |
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
Diffstat (limited to 'EmbeddedPkg/Application')
0 files changed, 0 insertions, 0 deletions