]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
BasePrintLib: Fix Buffer Overflow issue.
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibRepStr / Ia32 / CopyMem.S
index cce9836833d48fcd1fa52fd7bd95103da654b4fb..4215c203935bb44975f31a71565851ca4e4a5baf 100644 (file)
@@ -53,6 +53,6 @@ L0:
     movsb                               # Copy bytes backward
     cld
     movl    12(%esp),%eax               # eax <- Destination as return value
-    push    %edi
-    push    %esi
+    pop    %edi
+    pop    %esi
     ret