win32u: Initialize IO_STATUS_BLOCK in load_directory_fonts.

To avoid invalid writes on WOW64 Nt calls.
This commit is contained in:
Rémi Bernon 2023-03-06 13:11:04 +01:00 committed by Alexandre Julliard
parent 3fe15349d3
commit ec5d9f6413

View file

@ -6530,9 +6530,9 @@ static void load_system_bitmap_fonts(void)
static void load_directory_fonts( WCHAR *path, UINT flags )
{
IO_STATUS_BLOCK io = {{0}};
OBJECT_ATTRIBUTES attr;
UNICODE_STRING nt_name;
IO_STATUS_BLOCK io;
HANDLE handle;
char buf[8192];
size_t len;