d3dcompiler_43: don't crash on long TRACE()

Dan Kegel dank at kegel.com
Sat Jul 2 19:33:34 CDT 2011

When running yu-gi-oh online 3 with WINEDEBUG=+d3dcompiler,
wine crashes with

wine_dbg_vprintf: debugstr buffer overflow (contents:
'trace:d3dcompiler:preprocess_shader Preprocessor messages:

This patch prevents the crash.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nocrashlong.patch
Type: application/octet-stream
Size: 538 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110703/28c345b8/attachment.obj>

More information about the wine-patches mailing list