[Bug 200138] [PATCH] Fixed sthread-specific array allocation conflict incurred in libthr by some foreign malloc libraries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 12 10:15:56 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200138

--- Comment #7 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to yuri from comment #6)
What does prevent the recursion from going infinite ?
And your patch still does not make any sense, since assignment to the
curthread->specific only happens after the calloc() returned.

This sounds like the application bug anyway, because malloc/calloc interposers
must handle the system libraries requirements.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-threads mailing list