mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
Sorry Alex, my fault. NtGdiExtGetObjectW *does* need a WORD alignment.
svn path=/trunk/; revision=26587
This commit is contained in:
parent
4e7353cb79
commit
1b553a5e55
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue