Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4
Christopher Faylor
cgf-no-personal-reply-please@cygwin.com
Thu Mar 16 16:32:00 GMT 2006
On Thu, Mar 16, 2006 at 04:19:14PM -0000, Dave Korn wrote:
>Take a /look/ at the source for myfault::faulted in cygtls.h, it calls
>out to _cygtls::setup_fault, which calls _sjfault, which appears to be
>a q'n'd hacked-up version of setjmp in a context where it's going to
>get called back by an SEH handler. So IIUIC, calling 'efault.faulted'
>will catch any exception that happens from the point of the call until
>the point where the efault object goes out of scope and gets destructed
>and will cause execution to jump back to the if... clause.
What is this "take a /look/" thing you're talking about? What kind of
photonic voodoo are you proposing?
I've wasted a full day trying to understand what you're talking about.
What is the problem with understanding this code without looking at it?
cgf
More information about the Cygwin-talk
mailing list