From owner-cvs-all Fri Nov 24 18: 0:38 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 26C0637B4D7; Fri, 24 Nov 2000 18:00:36 -0800 (PST) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA97970; Fri, 24 Nov 2000 18:00:36 -0800 (PST) (envelope-from green@FreeBSD.org) Message-Id: <200011250200.SAA97970@freefall.freebsd.org> From: Brian Feldman Date: Fri, 24 Nov 2000 18:00:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/openssh/pam_ssh pam_ssh.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG green 2000/11/24 18:00:36 PST Modified files: crypto/openssh/pam_ssh pam_ssh.c Log: In env_destroy(), it is a bad idea to env_swap(self, 0) to switch back to the original environ unconditionally. The setting of the variable to save the previous environ is conditional; it happens when ENV.e_committed is set. Therefore, don't try to swap the env back unless the previous env has been initialized. PR: bin/22670 Submitted by: Takanori Saneto Revision Changes Path 1.10 +3 -1 src/crypto/openssh/pam_ssh/pam_ssh.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message