Bug 60478 - [libc] getaddrinfo not thread safe
Summary: [libc] getaddrinfo not thread safe
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 4.9-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hajimu UMEMOTO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-21 20:40 UTC by Alfred Perlstein
Modified: 2006-03-20 12:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Perlstein freebsd_committer freebsd_triage 2003-12-21 20:40:17 UTC
	Use of getaddrinfo() in a threaded program is likely to cause
	a crass.

Fix: 

Have getaddrinfo

	See also bin/60477 : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/60477
	which contains the infrastructure requirements to fix it.
Comment 1 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-23 07:49:19 UTC
Responsible Changed
From-To: freebsd-bugs->deischen

deischen is dealing with TLS
Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2006-03-20 12:41:34 UTC
State Changed
From-To: open->closed

Our getaddrinfo(3) is thread-safe since 6.0-RELEASE, and it 
was already MFC'ed into RELENG_5.  So, 5.5-RELEASE will have 
thread-safe getaddrinfo(3). 
Further, though there is some limitation, getaddrinfo(3) in 
RELENG_4 is thread-safe as well in usual usage. 


Comment 3 Hajimu UMEMOTO freebsd_committer freebsd_triage 2006-03-20 12:41:34 UTC
Responsible Changed
From-To: deischen->ume

I did it.