doc/share/security/patches/SA-01:63/sshd.patch
Bjoern A. Zeeb 3571e53040 Import FreeBSD Security Advisories and Errata Notices, as well as their
patches for easier mirroring, to eliminate a special copy, to make
www.freebsd.org/security a full copy of security.freebsd.org and be
eventually be the same.

For now files are just sitting there.   The symlinks are missing.

Discussed on:	www (repository location)
Discussed with:	simon (so)
2012-08-15 06:19:40 +00:00

23 lines
821 B
Diff

===================================================================
RCS file: /c/ncvs/src/crypto/openssh/session.c,v
retrieving revision 1.4.2.10
retrieving revision 1.4.2.11
diff -u -p -r1.4.2.10 -r1.4.2.11
--- src/crypto/openssh/session.c 2001/11/21 10:45:15 1.4.2.10
+++ src/crypto/openssh/session.c 2001/12/03 00:53:28 1.4.2.11
@@ -1154,6 +1154,7 @@ do_child(Session *s, const char *command
child_set_env(&env, &envsize, "TZ", getenv("TZ"));
/* Set custom environment options from RSA authentication. */
+ if (!options.use_login) {
while (custom_environment) {
struct envstring *ce = custom_environment;
char *s = ce->s;
@@ -1166,6 +1167,7 @@ do_child(Session *s, const char *command
custom_environment = ce->next;
xfree(ce->s);
xfree(ce);
+ }
}
snprintf(buf, sizeof buf, "%.50s %d %d",