This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Spurious mutex unlock in getaddrinfo()
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Kelvin Lawson <kelvinl at users dot sf dot net>
- Cc: ecos-patches at sourceware dot org
- Date: Wed, 29 Sep 2010 11:17:25 +0100
- Subject: Re: Spurious mutex unlock in getaddrinfo()
- References: <AANLkTikB=sigM83B9EJ2atjgiYZhfB_qcU-3x1_rVwTd@mail.gmail.com>
Hi Kelvin
Kelvin Lawson wrote:
> Attached a patch to fix an issue in the bad parameter handling of
> getaddrinfo(). If the name lookup exceeds the maximum length then it
> unlocks a mutex which it does not own. The mutex is not locked until
> further down the same function.
Thank you for the patch. Checked-in.
John Dallaway
eCos maintainer