![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package openssh checked in at Tue Dec 11 00:29:52 CET 2007. -------- --- openssh/openssh.changes 2007-12-05 10:55:57.000000000 +0100 +++ /mounts/work_src_done/STABLE/openssh/openssh.changes 2007-12-07 22:28:51.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 7 22:28:40 CET 2007 - anicka@suse.cz + +- fix race condition in xauth patch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openssh-askpass-gnome.spec ++++++ --- /var/tmp/diff_new_pack.ee4600/_old 2007-12-11 00:27:17.000000000 +0100 +++ /var/tmp/diff_new_pack.ee4600/_new 2007-12-11 00:27:17.000000000 +0100 @@ -15,7 +15,7 @@ License: BSD 3-Clause Group: Productivity/Networking/SSH Version: 4.7p1 -Release: 1 +Release: 3 Requires: openssh = %{version} openssh-askpass = %{version} AutoReqProv: on Summary: A GNOME-Based Passphrase Dialog for OpenSSH ++++++ openssh.spec ++++++ --- /var/tmp/diff_new_pack.ee4600/_old 2007-12-11 00:27:17.000000000 +0100 +++ /var/tmp/diff_new_pack.ee4600/_new 2007-12-11 00:27:17.000000000 +0100 @@ -29,7 +29,7 @@ Conflicts: nonfreessh AutoReqProv: on Version: 4.7p1 -Release: 1 +Release: 3 %define xversion 1.2.4.1 Summary: Secure Shell Client and Server (Remote Login Program) Url: http://www.openssh.com/ @@ -296,6 +296,8 @@ %config %_appdefdir/SshAskpass %changelog +* Fri Dec 07 2007 - anicka@suse.cz +- fix race condition in xauth patch * Wed Dec 05 2007 - anicka@suse.cz - update to 4.7p1 * Add "-K" flag for ssh to set GSSAPIAuthentication=yes and ++++++ openssh-4.7p1-default-protocol.diff ++++++ --- /var/tmp/diff_new_pack.ee4600/_old 2007-12-11 00:27:17.000000000 +0100 +++ /var/tmp/diff_new_pack.ee4600/_new 2007-12-11 00:27:17.000000000 +0100 @@ -8,4 +8,4 @@ + Protocol 2 # Cipher 3des # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc - # EscapeChar ~ + # MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 ++++++ openssh-4.7p1-gcc-fix.patch ++++++ --- /var/tmp/diff_new_pack.ee4600/_old 2007-12-11 00:27:17.000000000 +0100 +++ /var/tmp/diff_new_pack.ee4600/_new 2007-12-11 00:27:17.000000000 +0100 @@ -6,5 +6,5 @@ +#include <string.h> #include <stdarg.h> + #include <string.h> - #include <opensc/opensc.h> ++++++ openssh-4.7p1-xauth.diff ++++++ --- /var/tmp/diff_new_pack.ee4600/_old 2007-12-11 00:27:17.000000000 +0100 +++ /var/tmp/diff_new_pack.ee4600/_new 2007-12-11 00:27:17.000000000 +0100 @@ -1,21 +1,21 @@ --- session.c +++ session.c -@@ -2250,8 +2250,37 @@ +@@ -2250,8 +2250,41 @@ session_close(Session *s) { u_int i; -+ pid_t pid; -+ FILE *f = NULL; -+ char cmd[1024]; + int do_xauth; -+ struct passwd * pw = s->pw; -+ do_xauth = s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL; debug("session_close: session %d pid %ld", s->self, (long)s->pid); + ++ do_xauth = s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL; + if (do_xauth && options.xauth_location != NULL) { ++ pid_t pid; ++ FILE *f; ++ char cmd[1024]; ++ struct passwd * pw = s->pw; + -+ if ((pid = fork()) == 0) { ++ if (!(pid = fork())) { + permanently_set_uid(pw); + + /* Remove authority data from .Xauthority if appropriate. */ @@ -31,6 +31,10 @@ + } else + error("Could not run %s\n", cmd); + exit(0); ++ } else if (pid > 0) { ++ int status; ++ ++ waitpid(pid, &status, 0); + } + } + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de