mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 11:46:50 +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
|
_SEH_TRY
|
||||||
{
|
{
|
||||||
// Probe the buffer and copy it
|
// Probe the buffer and copy it
|
||||||
ProbeForWrite(lpBuffer, cbCopyCount, 1);
|
ProbeForWrite(lpBuffer, cbCopyCount, sizeof(WORD));
|
||||||
RtlCopyMemory(lpBuffer, &Object, cbCopyCount);
|
RtlCopyMemory(lpBuffer, &Object, cbCopyCount);
|
||||||
}
|
}
|
||||||
_SEH_HANDLE
|
_SEH_HANDLE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue