Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 19:22:41 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/net/openldap24-server Makefile ports/net/openldap24-server/files patch-servers__slapd__inet_ntoa.diff
Message-ID:  <201105021922.p42JMfux093268@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
delphij     2011-05-02 19:22:41 UTC

  FreeBSD ports repository

  Modified files:
    net/openldap24-server Makefile 
  Added files:
    net/openldap24-server/files 
                                patch-servers__slapd__inet_ntoa.diff 
  Log:
  inet_ntoa is not thread-safe as it uses a static store, which may
  result in a race condition, where for instance an IP based ACL
  might result in a denial decision.
  
  Fix this by changing these inet_ntoa's to inet_ntop with on-stack
  store.
  
  Reported by:    Damian Hazen <dhazen lbl.gov>
  
  Revision  Changes    Path
  1.189     +1 -1      ports/net/openldap24-server/Makefile
  1.1       +70 -0     ports/net/openldap24-server/files/patch-servers__slapd__inet_ntoa.diff (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105021922.p42JMfux093268>