https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8a685446b671b70c2cefd…
commit 8a685446b671b70c2cefdede37c6403cb020acf0
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Jun 29 02:27:40 2018 +0900
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Jun 28 19:27:40 2018 +0200
[WIN32SS] Fix IntSynthesizeDib to synthesize CF_DIB with CF_BITMAP (#644)
CORE-14770
---
win32ss/user/ntuser/clipboard.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/win32ss/user/ntuser/clipboard.c b/win32ss/user/ntuser/clipboard.c
index 9790b86746..92109953cc 100644
--- a/win32ss/user/ntuser/clipboard.c
+++ b/win32ss/user/ntuser/clipboard.c
@@ -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,