server: avoid sending uninitialized bytes in break_thread()

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

On Nov 14, 2007 10:01 PM, Dan Kegel <dank at> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server-exception-1.patch
Type: text/x-patch
Size: 545 bytes
Desc: not available
Url : 

More information about the wine-devel mailing list