[openssh-commits] [openssh] 01/02: upstream: When execve() failure is indicated on the pipe, replicate
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Mar 10 18:24:32 AEDT 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit beba5884dfe8cc30aadef439af5e5d784b5788b1
Author: deraadt at openbsd.org <deraadt at openbsd.org>
AuthorDate: Tue Mar 10 03:45:01 2026 +0000
upstream: When execve() failure is indicated on the pipe, replicate
the same error conditions as the previous access() check did ok djm
OpenBSD-Commit-ID: 875a77dddf0809a3501de2b913cb3bfd4b64f3f7
---
ssh-sk-client.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ssh-sk-client.c b/ssh-sk-client.c
index c8b0695b0..c5f837e26 100644
--- a/ssh-sk-client.c
+++ b/ssh-sk-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-sk-client.c,v 1.15 2026/03/07 18:27:52 deraadt Exp $ */
+/* $OpenBSD: ssh-sk-client.c,v 1.16 2026/03/10 03:45:01 deraadt Exp $ */
/*
* Copyright (c) 2019 Google LLC
*
@@ -114,8 +114,8 @@ start_helper(int *fdp, pid_t *pidp, void (**osigchldp)(int))
close(execpipe[0]);
if (n > 0) {
execbuf[n] = '\0';
- error("%s", execbuf);
- return SSH_ERR_SYSTEM_ERROR;
+ error_f("%s", execbuf);
+ return SSH_ERR_AGENT_FAILURE;
}
/* success */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list