Mailing List Archive

[PATCH] sftp-server: fix typo in uid error message
Fix a copy & paste error from the gid code path.
---
sftp-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sftp-server.c b/sftp-server.c
index 4a69989837fd..d5e230284587 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1857,7 +1857,7 @@ process_extended_get_users_groups_by_id(u_int32_t id)
name = user_pw == NULL ? "" : user_pw->pw_name;
debug3_f("uid %u => \"%s\"", n, name);
if ((r = sshbuf_put_cstring(usernames, name)) != 0)
- fatal_fr(r, "assemble gid reply");
+ fatal_fr(r, "assemble uid reply");
nusers++;
}
while (sshbuf_len(gids) != 0) {
--
2.38.1

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Re: [PATCH] sftp-server: fix typo in uid error message [ In reply to ]
On Wed, 9 Nov 2022 at 19:06, Mike Frysinger <vapier@gentoo.org> wrote:
> Fix a copy & paste error from the gid code path.

applied upstream, thanks.

--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev