winex11: fix buffer overflow in imm channel

Alex Villací­s Lasso a_villacis at
Wed Apr 30 09:47:11 CDT 2008

Got an unhandled exception from a buffer overflow in the imm channel 
while checking out quartz improvements. Turns out that a FIXME message 
was being repeatedly emitted without a terminating \n . Too many of 
these will overflow the debugstr buffer. Apparently the intention was to 
complete the \n with the message emitted within a TRACE, but both 
messages must be either FIXME or TRACE for this to work in the 
no-debugging situation.

* Change FIXME to TRACE to fix a buffer overflow from a 
non-CR-terminated FIXME.

perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11-fix-buffer-overflow-in-imm-channel-resultin.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list