http://bugs.winehq.org/show_bug.cgi?id=29139
Bug #: 29139 Summary: ExtTextOutW doesn't handle failed buffer allocations Product: Wine Version: unspecified Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: disposable593-wine@yahoo.com Classification: Unclassified
In font.c (http://source.winehq.org/source/dlls/gdi32/font.c#L1847):
The central text output function ExtTextOutW never checks for NULL return values in buffer allocations (HeapAlloc(...)). The same seems to be the case for several other functions in font.c (see, for example, GetOutlineTextMetricsA).
http://bugs.winehq.org/show_bug.cgi?id=29139
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Platform|All |Other Resolution| |INVALID OS/Version|All |other Severity|normal |enhancement
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru 2011-11-21 21:29:34 CST --- Please send a patch to wine-patches. If there is an app that doesn't work because of this feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=29139
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Austin English austinenglish@gmail.com 2011-11-29 15:47:50 CST --- Closing.