Commit eca1e4ea authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winex11: Initialize IO_STATUS_BLOCK in X11DRV_GetICMProfile.

To avoid invalid writes on WOW64 Nt calls.
parent 647e20a9
......@@ -1689,7 +1689,7 @@ BOOL CDECL X11DRV_GetICMProfile( PHYSDEV dev, BOOL allow_default, LPDWORD size,
else if ((buffer = get_icm_profile( &buflen )))
{
static const WCHAR icm[] = {'.','i','c','m',0};
IO_STATUS_BLOCK io;
IO_STATUS_BLOCK io = {{0}};
UINT64 hash = 0;
HANDLE file;
int status;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment