On Sat, Feb 09, 2008 at 09:12:35PM -0800, Russ Allbery wrote:

> > Here is a patch that fixes the deadlock for me.  Fellow maintainers, is
> > this ok to commit to the package, or would you prefer I clean it up
> > first so that it's suitable for upstream submission?

> I think it's fine to commit to the package for right now.  I'll go file an
> upstream bug about the issue so that they're aware of it; my guess is that
> they may have other ideas for how to fix it.

Ok, I've scaled back the patch a bit before committing it because a deeper
search leaves me uncertain that res_query and dn_expand are thread-safe even
in current versions of glibc.  Dropping the mutex for getaddrinfo() and
getnameinfo() is sufficient to fix this bug, in any case.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to