[PATCH 2/2] ntoskrnl.exe: Implement MmMapLockedPagesSpecifyCache & MmUnmapLockedPages and improve MmUnlockPages stub.

Christian Costa titan.costa at gmail.com
Thu Oct 4 02:40:17 CDT 2012


Le 04/10/2012 07:28, Dmitry Timoshkov a écrit :
> Christian Costa <titan.costa at 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.



More information about the wine-devel mailing list