Received: by mail.netbsd.org (Postfix, from userid 605) id B0D7B14A157; Tue, 18 Jun 2013 21:10:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2B3F514A150 for ; Tue, 18 Jun 2013 21:10:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hixI72yRVj8V for ; Tue, 18 Jun 2013 21:10:42 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 8DBB514AA0D for ; Tue, 18 Jun 2013 19:31:27 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 79B0996; Tue, 18 Jun 2013 19:31:27 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 18 Jun 2013 19:31:27 +0000 From: "Simon J. Gerraty" Subject: CVS commit: src/usr.bin/make To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130618193127.79B0996@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Simon J. Gerraty" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: sjg Date: Tue Jun 18 19:31:27 UTC 2013 Modified Files: src/usr.bin/make: parse.c Log Message: Fix use after free bug. Parse_SetInput: curFile->fname was using the buffer passed to it - which ReadMakefile frees. This change makes the comment in ParseEOF about leaking curFile->fname true. To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/usr.bin/make/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.