[openssh-commits] [openssh] 02/03: upstream: the limits at openssh.com extension was incorrectly marked

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Jun 6 13:24:48 AEST 2021


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

djm pushed a commit to branch master
in repository openssh.

commit d345d5811afdc2d6923019b653cdd93c4cc95f76
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sun Jun 6 03:15:39 2021 +0000

    upstream: the limits at openssh.com extension was incorrectly marked
    
    as an operation that writes to the filesystem, which made it unavailable in
    sftp-server read-only mode. Spotted by Hector Martin via bz3318
    
    OpenBSD-Commit-ID: f054465230787e37516c4b57098fc7975e00f067
---
 sftp-server.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sftp-server.c b/sftp-server.c
index 838f0488..4972b2a6 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.127 2021/04/03 06:18:41 djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.128 2021/06/06 03:15:39 djm Exp $ */
 /*
  * Copyright (c) 2000-2004 Markus Friedl.  All rights reserved.
  *
@@ -157,7 +157,7 @@ static const struct sftp_handler extended_handlers[] = {
 	{ "hardlink", "hardlink at openssh.com", 0, process_extended_hardlink, 1 },
 	{ "fsync", "fsync at openssh.com", 0, process_extended_fsync, 1 },
 	{ "lsetstat", "lsetstat at openssh.com", 0, process_extended_lsetstat, 1 },
-	{ "limits", "limits at openssh.com", 0, process_extended_limits, 1 },
+	{ "limits", "limits at openssh.com", 0, process_extended_limits, 0 },
 	{ NULL, NULL, 0, NULL, 0 }
 };
 

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


More information about the openssh-commits mailing list