http://bugs.winehq.org/show_bug.cgi?id=9104
Eli sharparrow1@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sharparrow1@yahoo.com
--- Comment #8 from Eli sharparrow1@yahoo.com 2007-12-07 14:01:28 --- The attached patch is definitely wrong; the correct patch is closer to http://www.winehq.org/pipermail/wine-patches/2005-October/021306.html (I guess it didn't get applied because it's a bit messier than it needs to be and didn't include any tests...)
On a side note, this looks like a potential stack/heap corruption bug. It's really not a good thing to be writing past the end of a buffer.