From owner-cvs-all Sun Nov 10 23:34: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AF0E37B401; Sun, 10 Nov 2002 23:34:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6981D43E6E; Sun, 10 Nov 2002 23:34:03 -0800 (PST) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAB7VmmV022071; Sun, 10 Nov 2002 23:31:48 -0800 (PST) (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAB7VmdU022070; Sun, 10 Nov 2002 23:31:48 -0800 (PST) Message-Id: <200211110731.gAB7VmdU022070@repoman.freebsd.org> From: Yar Tikhiy Date: Sun, 10 Nov 2002 23:31:48 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG yar 2002/11/10 23:31:48 PST Modified files: libexec/ftpd ftpd.c Log: Don't free the current addrinfo list, or else a pointer to a freed memory area would arise. Only an addrinfo list from an earlier call to getaddrinfo() should be freed there because it will be substituted by the current list referenced by "res". Reported by: John Long MFC after: 5 days Revision Changes Path 1.131 +1 -1 src/libexec/ftpd/ftpd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message