WoW crashes in 'wine_cp_mbstowcs' under certain circumstances.

Tomas Carnecky tom at
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?

-------------- 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 :

More information about the wine-devel mailing list