server: avoid sending uninitialized bytes in break_thread()

2007-11-15 Thread Dan Kegel
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

Re: server: avoid sending uninitialized bytes in break_thread()

2007-11-15 Thread Dan Kegel
On Nov 14, 2007 10:01 PM, Dan Kegel <[EMAIL PROTECTED]> 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