[Bug 41132] Specific font files can cause Steam to crash unexpectedly

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 12 16:45:45 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=41132

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |dwrite
            Summary|Invalid font files can      |Specific font files can
                   |cause Steam to crash        |cause Steam to crash
                   |unexpectedly                |unexpectedly
                 CC|                            |bunglehead at gmail.com

--- Comment #4 from Sebastian Lackner <sebastian at fds-team.de> ---
I tracked the issue down to a bug in dwrite. The issue occurs while resolving
the stretch name, see:

http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/dwrite/font.c#l3098

In this case font->stretch == DWRITE_FONT_STRETCH_SEMI_CONDENSED, but the
stretchnamesW[] array contains a NULL pointer for this entry. It seems like the
index -> name mapping are shifted by one because DWRITE_FONT_STRETCH_UNDEFINED
is missing.

@Nikolay: Since its your area, could you maybe take a look?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list