Received: by mail.netbsd.org (Postfix, from userid 0) id B3A1363B102; Sat, 2 Oct 2010 10:51:09 +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 3EF4863B101 for ; Sat, 2 Oct 2010 10:51:08 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id DE96D175DF; Sat, 2 Oct 2010 10:51:07 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Sat, 2 Oct 2010 10:51:07 +0000 From: Matthias Scheler Subject: CVS commit: src/lib/libc/stdlib To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101002105107.DE96D175DF@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: Matthias Scheler Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: tron Date: Sat Oct 2 10:51:07 UTC 2010 Modified Files: src/lib/libc/stdlib: getenv.c Log Message: Make sure that all extra elements of the environment vector are set to NULL. This stop su(1) from crashing. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libc/stdlib/getenv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.