server: avoid sending uninitialized bytes in break_thread()

Dan Kegel dank at kegel.com
Thu Nov 15 00:12:14 CST 2007


On Nov 14, 2007 10:01 PM, Dan Kegel <dank at kegel.com> wrote:
> In break_thread(), generate_debug_event() seems to
> send the entire ExceptionInformation array regardless of how
> many entries are used.   The smart thing to do
> would be to send only the used elements, but I
> couldn't figure out how to do that.  So here's
> a quick fix that just zeroes that array before calling
> generate_debug_event().  Is there a better way?

[This time with patch.]

(There's a similar problem on the client side,
but there I think I see how to fix it right in
send_debug_event().)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server-exception-1.patch
Type: text/x-patch
Size: 545 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071114/a5f4ef2b/attachment-0001.bin 


More information about the wine-devel mailing list