mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTDLL]
- Fix memory corruption by reverting part of r52603 svn path=/trunk/; revision=52611
This commit is contained in:
parent
ce8c949828
commit
6ef48aa4b4
1 changed files with 2 additions and 2 deletions
|
@ -1292,7 +1292,7 @@ LdrUnloadDll(IN PVOID BaseAddress)
|
|||
/* Set up the Act Ctx */
|
||||
ActCtx.Size = sizeof(ActCtx);
|
||||
ActCtx.Format = RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_FORMAT_WHISTLER;
|
||||
RtlZeroMemory(&ActCtx.Frame, sizeof(ActCtx));
|
||||
RtlZeroMemory(&ActCtx.Frame, sizeof(RTL_ACTIVATION_CONTEXT_STACK_FRAME));
|
||||
|
||||
/* Activate the ActCtx */
|
||||
RtlActivateActivationContextUnsafeFast(&ActCtx,
|
||||
|
@ -1416,7 +1416,7 @@ LdrUnloadDll(IN PVOID BaseAddress)
|
|||
/* Set up the Act Ctx */
|
||||
ActCtx.Size = sizeof(ActCtx);
|
||||
ActCtx.Format = RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_FORMAT_WHISTLER;
|
||||
RtlZeroMemory(&ActCtx.Frame, sizeof(ActCtx));
|
||||
RtlZeroMemory(&ActCtx.Frame, sizeof(RTL_ACTIVATION_CONTEXT_STACK_FRAME));
|
||||
|
||||
/* Activate the ActCtx */
|
||||
RtlActivateActivationContextUnsafeFast(&ActCtx,
|
||||
|
|
Loading…
Reference in a new issue