]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Bds: Remove assertion in BmCharToUint
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 10 Oct 2017 08:39:12 +0000 (16:39 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 12 Oct 2017 02:00:48 +0000 (10:00 +0800)
commit618ef6f9bae14e1543d61993ab7ab8992063e4cc
tree657129f25f17a7158c0463c2cafadc0776d4760a
parent90f3922b018e08594ae6746252984495d3bb8c74
MdeModulePkg/Bds: Remove assertion in BmCharToUint

BmCharToUint() could be called using external data and it
already contains logic to return -1 when data is invalid,
so removing unnecessary assertion to avoid system hang.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c