Skip to content
Snippets Groups Projects
Commit eca1e4ea authored by Rémi Bernon's avatar Rémi Bernon :speech_balloon: Committed by Alexandre Julliard
Browse files

winex11: Initialize IO_STATUS_BLOCK in X11DRV_GetICMProfile.

To avoid invalid writes on WOW64 Nt calls.
parent 647e20a9
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment