WoW crashes in 'wine_cp_mbstowcs' under certain circumstances.

Tomas Carnecky tom at dbservice.com
Mon Apr 17 08:45:26 CDT 2006


Wine doesn't crash in this function, sorry, it's a bug in pf_vsnprintf()
which causes snprintf() to write beyond the end of the buffer.

I've attached a patch that fixes it for me, but it's probably better not
to create such large buffers on the stack.
Anyone with a better fix?

tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvcrt-pf_vsnprintf-large-floats.patch
Type: text/x-patch
Size: 1340 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060417/8c9fccb2/msvcrt-pf_vsnprintf-large-floats.patch


More information about the wine-devel mailing list