From owner-cvs-src@FreeBSD.ORG Fri Jul 6 04:04:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93E0216A468; Fri, 6 Jul 2007 04:04:58 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6E46413C459; Fri, 6 Jul 2007 04:04:58 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l6644wWW021900; Fri, 6 Jul 2007 04:04:58 GMT (envelope-from scf@repoman.freebsd.org) Received: (from scf@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l6644wGA021899; Fri, 6 Jul 2007 04:04:58 GMT (envelope-from scf) Message-Id: <200707060404.l6644wGA021899@repoman.freebsd.org> From: Sean Farley Date: Fri, 6 Jul 2007 04:04:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/sh var.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 04:04:58 -0000 scf 2007-07-06 04:04:58 UTC FreeBSD src repository Modified files: bin/sh var.c Log: Take care that the input to setenv() may actually be a pointer straight from environ; make a copy before manipulating it and passing it to setenv(). Approved by: wes Approved by: re (kensmith) Revision Changes Path 1.37 +28 -14 src/bin/sh/var.c