mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[NTOS:KE] Fix stack memory disclosure in KiInitializeUserApc (#2988)
This commit is contained in:
parent
517e6dc8ab
commit
9d2ecd3a13
3 changed files with 3 additions and 3 deletions
|
@ -207,7 +207,7 @@ KiInitializeUserApc(IN PKEXCEPTION_FRAME ExceptionFrame,
|
|||
IN PVOID SystemArgument1,
|
||||
IN PVOID SystemArgument2)
|
||||
{
|
||||
CONTEXT Context;
|
||||
CONTEXT Context = { 0 };
|
||||
ULONG64 AlignedRsp, Stack;
|
||||
EXCEPTION_RECORD SehExceptRecord;
|
||||
|
||||
|
|
|
@ -270,7 +270,7 @@ KiInitializeUserApc(IN PKEXCEPTION_FRAME ExceptionFrame,
|
|||
IN PVOID SystemArgument1,
|
||||
IN PVOID SystemArgument2)
|
||||
{
|
||||
CONTEXT Context;
|
||||
CONTEXT Context = { 0 };
|
||||
ULONG_PTR Stack;
|
||||
ULONG ContextLength;
|
||||
DPRINT1("User APC: %p %p %p\n", NormalContext, SystemArgument1, SystemArgument2);
|
||||
|
|
|
@ -51,7 +51,7 @@ KiInitializeUserApc(IN PKEXCEPTION_FRAME ExceptionFrame,
|
|||
IN PVOID SystemArgument1,
|
||||
IN PVOID SystemArgument2)
|
||||
{
|
||||
CONTEXT Context;
|
||||
CONTEXT Context = { 0 };
|
||||
ULONG_PTR Stack, AlignedEsp;
|
||||
ULONG ContextLength;
|
||||
EXCEPTION_RECORD SehExceptRecord;
|
||||
|
|
Loading…
Reference in a new issue