This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17327] New: __run_exit_handlers may miss new handlers
- From: "philip.pronin at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 29 Aug 2014 09:32:54 +0000
- Subject: [Bug libc/17327] New: __run_exit_handlers may miss new handlers
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17327
Bug ID: 17327
Summary: __run_exit_handlers may miss new handlers
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: philip.pronin at gmail dot com
CC: drepper.fsp at gmail dot com
__run_exit_handlers keeps pointer to the list node it is traversing; some exit
handler may register new handlers, but these handlers may never be executed if
__new_exitfn had to calloc new list node. __run_exit_handlers should start the
loop over (re-read head of the list) after the each processed handler.
--
You are receiving this mail because:
You are on the CC list for the bug.