diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-13 18:22:33 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-21 08:42:48 +0100 |
commit | 60fe5e8a9c8deafcc302c715a91947d75d38e544 (patch) | |
tree | bf8b3e3f105ec60329bec621041ef8ab05f820dc /BaseTools/Source/Python/Common/DecClassObject.py | |
parent | 93638568c1c6bd6bace2cd27666796b7c87fc45c (diff) | |
download | edk2-platforms-60fe5e8a9c8deafcc302c715a91947d75d38e544.tar.xz |
MdePkg/BaseMemoryLibOptDxe ARM: fix arithmetic bugs in CompareMem()
Fix two bugs:
- Erroneous shift of 2 in a bytes to bits conversion.
- Use reverse subtract rather than negate for value that is subsequently
used as operand #2 in a shift operation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/DecClassObject.py')
0 files changed, 0 insertions, 0 deletions