[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Enhancement to implement client side VLV Controls / Server Side Sort Control (ITS#563)
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_550D5D25.C3A20FBE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Full_Name: Alan Clark
Version: devel
OS: Linux / NetWare / WinNT
URL: ftp://ftp.openldap.org/incoming/aclark-000605a
This fixes a thread safety issue in util-int.c.
Typically the functions gethostbyaddr() and gethostbyname()
return a pointer to the same hostent structure, so they should
be protected by the same mutex and not two mutexes. The
patch combines the mutexes into one.
-Alan Clark
Manager
Novell Directory Services
aclark@novell.com
--=_550D5D25.C3A20FBE
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type=
>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR></HEAD>
<BODY style=3D"FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: =
2px">
<DIV><FONT size=3D1>Full_Name: Alan Clark</FONT></DIV>
<DIV><FONT size=3D1>Version: devel<BR>OS: Linux / NetWare / WinNT<BR>URL: =
<A=20
href=3D"ftp://ftp.openldap.org/incoming/aclark-000605a">ftp://ftp.openldap.=
org/incoming/aclark-000605a</A></FONT></DIV>
<DIV> </DIV>
<DIV>This fixes a thread safety issue in util-int.c.</DIV>
<DIV>Typically the functions gethostbyaddr() and gethostbyname()</DIV>
<DIV>return a pointer to the same hostent structure, so they should</DIV>
<DIV>be protected by the same mutex and not two mutexes. The</DIV>
<DIV>patch combines the mutexes into one.</DIV>
<DIV> </DIV>
<DIV><FONT size=3D1 style=3D"BACKGROUND-COLOR: #ffffff">-Alan Clark</FONT><=
/DIV>
<DIV><FONT size=3D1 style=3D"BACKGROUND-COLOR: #ffffff">Manager<BR>Novell =
Directory=20
Services<BR><A=20
href=3D"mailto:aclark@novell.com">aclark@novell.com</A></FONT></DIV></BODY>=
</HTML>
--=_550D5D25.C3A20FBE--