diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-22 09:52:00 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-23 11:50:51 +0100 |
commit | 8b4ca351dded404f992504c45e358572c4d236f9 (patch) | |
tree | 9ca46710ed79b3320152846e4116fc6fe0bb8a33 /ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni | |
parent | fe882c01122e7e01e0e78ca8da64630faf9a7b5a (diff) | |
download | edk2-platforms-8b4ca351dded404f992504c45e358572c4d236f9.tar.xz |
MdePkg/BaseMemoryLibOptDxe ARM AARCH64: fix thinko in SetMem##
The new InternalMemSetMem##() implementations for ARM and AARCH64 in
BaseMemoryLibOptDxe fail to take into account that the 'length' argument
is not in bytes, but in number of items to be copied. So multiply by the
item size before proceeding.
Reported-by: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni')
0 files changed, 0 insertions, 0 deletions