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/2978] New: GAI notify memory corruption


When using the thread notification handler of getaddrinfo_a, the
sigev->sigev_value pointer one receives in the thread creation function does not
point to what was assigned to it in the sigevent structure given to
getaddrinfo_a initially.

Quoting Roland:
"That looks like an authentic bug in __gai_notify.  The data structure gets
freed in the worker thread, but the notification thread still refers to it."

-- 
           Summary: GAI notify memory corruption
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: 2005 at kuarepoti-dju dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2978

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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