Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h6fz3303.fsf@keithp.com>
Date: Wed, 17 Apr 2024 17:53:32 -0700
From: Keith Packard <keithp@...thp.com>
To: libc-coord@...ts.openwall.com
Subject: Preventing re-use of jmp_buf?


I've got a bug report in the X libraries where a code path accidentally
re-used a jmp_buf as a parameter to longjmp. This caused quite the
confusing error report.

Would it be reasonable to have longjmp modify jmp_buf on the way through
so that a second usage could be trapped?

-- 
-keith

Download attachment "signature.asc" of type "application/pgp-signature" (833 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.