mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[WIN32K:NTUSER]
- Include the CLIPBOARDDATA structure itself when calculating the size passed to UserCreateObject in IntSynthesizeDib. Fixes user heap corruption when running user32_winetest:clipboard. CORE-13408 svn path=/trunk/; revision=74990
This commit is contained in:
parent
f45315d051
commit
ea1f78da72
|
@ -180,7 +180,7 @@ IntSynthesizeDib(
|
||||||
NULL,
|
NULL,
|
||||||
&hMem,
|
&hMem,
|
||||||
TYPE_CLIPDATA,
|
TYPE_CLIPDATA,
|
||||||
cjDataSize);
|
sizeof(CLIPBOARDDATA) + cjDataSize);
|
||||||
if (!pClipboardData)
|
if (!pClipboardData)
|
||||||
{
|
{
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
Loading…
Reference in a new issue