This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: run2.exe segfaults when GDI and X11 elements are present
Charles Wilson wrote:
> NOW I see the coredump -- which is occurring inside the xml parsing
> subroutines. I *HOPE* this is an entirely different bug than the one
> that started this thread.
>
> I'll followup with another message after I start debugging the new
> test1.xml coredump.
This was an unsigned underflow error. Both i and buffer->buf_used are
unsigned:
for (i = 0; i < buffer->buf_used - 3; i++, p++)
Imagine what happens when buffer->buf_used is "2". Fixed in r26.
Now, back to test.xml with DISPLAY unset...which I can reproduce. Should
be an easy fix.
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple