[DDE] memory allocation bug

Eric Frias efrias at syncad.com
Tue Jul 13 15:39:54 CDT 2004

MultiByteToWideChar() is called to find out how long a string to allocate.
It returns the number of WCHARs needed, but we only allocate the
corresponding number of chars.  I'll take a look through the rest of wine
when I get a chance (Monday) to see if there are any more similar bugs -- 
looks like an easy mistake to make.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.patch
Type: application/octet-stream
Size: 394 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040713/e21c5992/client.obj

More information about the wine-patches mailing list