mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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;
|
Frame = (PULONG)Tf->Ebp;
|
||||||
while (Frame != NULL)
|
while (Frame != NULL)
|
||||||
{
|
{
|
||||||
Status = MmCopyToCaller(&ReturnAddress, &Frame[1], sizeof(ULONG));
|
Status = MmCopyFromCaller(&ReturnAddress, &Frame[1], sizeof(ULONG));
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("????????\n");
|
DbgPrint("????????\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
print_address((PVOID)ReturnAddress);
|
print_address((PVOID)ReturnAddress);
|
||||||
Status = MmCopyToCaller(&NextFrame, &Frame[0], sizeof(ULONG));
|
Status = MmCopyFromCaller(&NextFrame, &Frame[0], sizeof(ULONG));
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Frame is inaccessible.\n");
|
DbgPrint("Frame is inaccessible.\n");
|
||||||
|
|
Loading…
Reference in a new issue