[WIN32SS] Fix IntSynthesizeDib to synthesize CF_DIB with CF_BITMAP (#644)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Thu, 28 Jun 2018 17:27:40 +0000 (02:27 +0900)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Thu, 28 Jun 2018 17:27:40 +0000 (19:27 +0200)
CORE-14770

win32ss/user/ntuser/clipboard.c

index 9790b86..9210995 100644 (file)
@@ -160,6 +160,7 @@ IntSynthesizeDib(
     }
 
     /* Get information about the bitmap format */
+    memset(&bmiBuffer, 0, sizeof(bmiBuffer));
     pbmi->bmiHeader.biSize = sizeof(bmiBuffer.bmih);
     iResult = GreGetDIBitsInternal(hdc,
                                    hbm,