mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Oops, used copy to caller instead of copy from caller
svn path=/trunk/; revision=2378
This commit is contained in:
parent
189a5e8404
commit
57300d2523
1 changed files with 2 additions and 2 deletions
|
@ -456,14 +456,14 @@ KiUserTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
|
|||
Frame = (PULONG)Tf->Ebp;
|
||||
while (Frame != NULL)
|
||||
{
|
||||
Status = MmCopyToCaller(&ReturnAddress, &Frame[1], sizeof(ULONG));
|
||||
Status = MmCopyFromCaller(&ReturnAddress, &Frame[1], sizeof(ULONG));
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DbgPrint("????????\n");
|
||||
break;
|
||||
}
|
||||
print_address((PVOID)ReturnAddress);
|
||||
Status = MmCopyToCaller(&NextFrame, &Frame[0], sizeof(ULONG));
|
||||
Status = MmCopyFromCaller(&NextFrame, &Frame[0], sizeof(ULONG));
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DbgPrint("Frame is inaccessible.\n");
|
||||
|
|
Loading…
Reference in a new issue