mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Sorry Alex, my fault. NtGdiExtGetObjectW *does* need a WORD alignment.
svn path=/trunk/; revision=26587
This commit is contained in:
@@ -1888,7 +1888,7 @@ NtGdiExtGetObjectW(IN HANDLE hGdiObj,
|
||||
_SEH_TRY
|
||||
{
|
||||
// Probe the buffer and copy it
|
||||
ProbeForWrite(lpBuffer, cbCopyCount, 1);
|
||||
ProbeForWrite(lpBuffer, cbCopyCount, sizeof(WORD));
|
||||
RtlCopyMemory(lpBuffer, &Object, cbCopyCount);
|
||||
}
|
||||
_SEH_HANDLE
|
||||
|
||||
Reference in New Issue
Block a user