From owner-freebsd-bugs Fri Dec 28 1:20:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 842E937B417 for ; Fri, 28 Dec 2001 01:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBS9K1l92607; Fri, 28 Dec 2001 01:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D693337B416 for ; Fri, 28 Dec 2001 01:16:50 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBS9Go592203; Fri, 28 Dec 2001 01:16:50 -0800 (PST) (envelope-from nobody) Message-Id: <200112280916.fBS9Go592203@freefall.freebsd.org> Date: Fri, 28 Dec 2001 01:16:50 -0800 (PST) From: Hiroyuki YAMAMORI To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/33268: ftpd: memory leak at EPRT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33268 >Category: bin >Synopsis: ftpd: memory leak at EPRT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 28 01:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Hiroyuki YAMAMORI >Release: >Organization: >Environment: >Description: Not free EPRT arg. >How-To-Repeat: >Fix: --- src/libexec/ftpd/ftpcmd.y_1.28 Fri Dec 28 17:53:10 2001 +++ src/libexec/ftpd/ftpcmd.y Fri Dec 28 17:56:02 2001 @@ -313,7 +313,9 @@ if (port_check_v6("EPRT") == 1) goto eprt_done; #endif - eprt_done:; + eprt_done: + if ($4 != NULL) + free($4); } | PASV check_login CRLF { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message