[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#200351: set/longjump issue?



On 12 Sep 2003, Falk Hueffner wrote:

> This code is invalid in two ways: setjump must not be used in an
> assignment expression (which is unlikely to cause any actual problems,
> though); and longjmp must not jump into a function which has been
> terminated after the call to setjmp (which is likely the cause for the
> crash).

You know, I discovered this while working on an improved error handler for
dpkg 2.0.  I'm surprised this hasn't cause more problems on more arches,
seeing as how I had the issue on my i386, and I wasn't even doing heavy use.




Reply to: