This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/17327] New: __run_exit_handlers may miss new handlers


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]