cvs commit: ports/net/openldap24-server Makefile ports/net/openldap24-server/files patch-servers__slapd__inet_ntoa.diff

Xin LI delphij at FreeBSD.org
Mon May 2 19:22:41 UTC 2011


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)


More information about the cvs-all mailing list