summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-22 09:52:00 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-23 11:50:51 +0100
commit8b4ca351dded404f992504c45e358572c4d236f9 (patch)
tree9ca46710ed79b3320152846e4116fc6fe0bb8a33 /ShellPkg
parentfe882c01122e7e01e0e78ca8da64630faf9a7b5a (diff)
downloadedk2-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')
0 files changed, 0 insertions, 0 deletions