Commit d774442e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdi32: Fix heap corruption.

parent f9bc636d
......@@ -5189,7 +5189,7 @@ static void fill_fileinfo_from_face( GdiFont *font, Face *face )
strcpyW(font->fileinfo->path, face->file);
}
else
memset(&font->fileinfo, 0, sizeof(*font->fileinfo) + len * sizeof(WCHAR));
memset(font->fileinfo, 0, sizeof(*font->fileinfo) + len * sizeof(WCHAR));
}
/*************************************************************
......
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