From owner-cvs-all@FreeBSD.ORG Mon May 2 19:22:41 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAF821065680; Mon, 2 May 2011 19:22:41 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AB05E8FC16; Mon, 2 May 2011 19:22:41 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p42JMfMQ093269; Mon, 2 May 2011 19:22:41 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p42JMfux093268; Mon, 2 May 2011 19:22:41 GMT (envelope-from delphij) Message-Id: <201105021922.p42JMfux093268@repoman.freebsd.org> From: Xin LI Date: Mon, 2 May 2011 19:22:41 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/net/openldap24-server Makefile ports/net/openldap24-server/files patch-servers__slapd__inet_ntoa.diff X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 19:22:41 -0000 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 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)