diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-13 01:53:27 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-13 01:53:27 +0000 |
commit | 4f7f1f5fa8bdd3f4446ba8e8eb6fb662c4eb99d9 (patch) | |
tree | 298d458ca67b6ce6f2cdb585a63c2e09e6f77d3c /MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S | |
parent | c6c0039c57b1af614ae80f998a07130e4dd254ef (diff) | |
download | edk2-platforms-4f7f1f5fa8bdd3f4446ba8e8eb6fb662c4eb99d9.tar.xz |
BasePrintLib: Fix Buffer Overflow issue.
BaseMemoryLib: Fix error in CopyMem.S for BaseMemoryLibMmx & BaseMemoryLibRepStr instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@938 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S index 56788cb981..3c00c2a81e 100644 --- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S +++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S @@ -85,6 +85,6 @@ L2: movsb cld movl 12(%esp), %eax - push %esi - push %edi + pop %esi + pop %edi ret |