Date: Fri, 24 Nov 2000 18:00:36 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/openssh/pam_ssh pam_ssh.c Message-ID: <200011250200.SAA97970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sanewo@ba2.so-net.ne.jp>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011250200.SAA97970>
