[openssh-commits] [openssh] branch V_10_6 updated: unbreak SKIP_PRIVDROP case
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Oct 14 15:00:17 AEDT 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch V_10_6
in repository openssh.
The following commit(s) were added to refs/heads/V_10_6 by this push:
new 795dd15c5 unbreak SKIP_PRIVDROP case
795dd15c5 is described below
commit 795dd15c560b9438afaa826c65da72c30e3587fc
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Wed Oct 14 09:00:23 2026 +0530
unbreak SKIP_PRIVDROP case
---
channels.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/channels.c b/channels.c
index abae44b92..ae8b8f6d1 100644
--- a/channels.c
+++ b/channels.c
@@ -4347,8 +4347,7 @@ check_rfwd_permission(struct ssh *ssh, struct Forward *fwd)
#ifdef SKIP_PRIVDROP
if (fwd->listen_path != NULL)
return 0;
- if (allowed_open->listen_port != FWD_PERMIT_ANY_PORT &&
- allowed_open->listen_port < 1024)
+ if (fwd->listen_port != 0 && fwd->listen_port < 1024)
return 0;
#endif
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list