[openssh-commits] [openssh] 03/06: upstream: fix incorrect expansion of %i in

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Jun 9 13:11:15 AEST 2018


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 0368889f82f63c82ff8db9f8c944d89e7c657db4
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jun 8 03:35:36 2018 +0000

    upstream: fix incorrect expansion of %i in
    
    load_public_identity_files(); reported by Roumen Petrov
    
    OpenBSD-Commit-ID: a827289e77149b5e0850d72a350c8b0300e7ef25
---
 ssh.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ssh.c b/ssh.c
index a8505a0e..fe3e1a83 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.480 2018/06/06 18:22:41 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.481 2018/06/08 03:35:36 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo at cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2118,7 +2118,7 @@ load_public_identity_files(struct passwd *pw)
 		filename = percent_expand(cp,
 		    "d", pw->pw_dir,
 		    "h", host,
-		    "i", host,
+		    "i", uidstr,
 		    "l", thishost,
 		    "r", options.user,
 		    "u", pw->pw_name,

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list