mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -180,7 +180,7 @@ IntSynthesizeDib(
|
||||
NULL,
|
||||
&hMem,
|
||||
TYPE_CLIPDATA,
|
||||
cjDataSize);
|
||||
sizeof(CLIPBOARDDATA) + cjDataSize);
|
||||
if (!pClipboardData)
|
||||
{
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user