Re: [PATCH 2/2] ntoskrnl.exe: Implement MmMapLockedPagesSpecifyCache & MmUnmapLockedPages and improve MmUnlockPages stub.
4 Oct
2012
4 Oct
'12
5:28 a.m.
Christian Costa <titan.costa(a)gmail.com> wrote:
+ /* Read memory from the client process memory */ + if (!ReadProcessMemory(process, (LPCVOID)((ULONG)(mdl->StartVa) + mdl->ByteOffset), (LPVOID)(((ULONG)mdl->MappedSystemVa) + mdl->ByteOffset), mdl->ByteCount, &bytes))
This kind of casts is broken. -- Dmitry.
4 Oct
4 Oct
7:40 a.m.
New subject: [PATCH 2/2] ntoskrnl.exe: Implement MmMapLockedPagesSpecifyCache & MmUnmapLockedPages and improve MmUnlockPages stub.
Le 04/10/2012 07:28, Dmitry Timoshkov a écrit :
Christian Costa <titan.costa(a)gmail.com> wrote:
+ /* Read memory from the client process memory */ + if (!ReadProcessMemory(process, (LPCVOID)((ULONG)(mdl->StartVa) + mdl->ByteOffset), (LPVOID)(((ULONG)mdl->MappedSystemVa) + mdl->ByteOffset), mdl->ByteCount, &bytes)) This kind of casts is broken.
2nd version of the patch fixes the casts.
4818
Age (days ago)
4818
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Costa -
Dmitry Timoshkov