Skip to content

Commit b6d6579

Browse files
committed
Rename PEB field
1 parent 169584e commit b6d6579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProcessHacker/appsup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ NTSTATUS PhGetProcessSwitchContext(
163163
{
164164
if (!NT_SUCCESS(status = NtReadVirtualMemory(
165165
ProcessHandle,
166-
PTR_ADD_OFFSET(basicInfo.PebBaseAddress, FIELD_OFFSET(PEB, pUnused)),
166+
PTR_ADD_OFFSET(basicInfo.PebBaseAddress, FIELD_OFFSET(PEB, pContextData)),
167167
&data,
168168
sizeof(PVOID),
169169
NULL

0 commit comments

Comments
 (0)