diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2021-06-06 03:15:40 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2021-06-06 03:15:40 +0000 |
commit | de543959e8c17438b76c3802efd0dbb9bcd4dfab (patch) | |
tree | 4b25c3183fdf6504692302323e7dccb8a4dcd987 /usr.bin | |
parent | 83e108ca7acb0799a8f8179183c42455d826ee0d (diff) |
the limits@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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/sftp-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c index 4e477961f28..1f0e85e829d 100644 --- a/usr.bin/ssh/sftp-server.c +++ b/usr.bin/ssh/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. * @@ -149,7 +149,7 @@ static const struct sftp_handler extended_handlers[] = { { "hardlink", "hardlink@openssh.com", 0, process_extended_hardlink, 1 }, { "fsync", "fsync@openssh.com", 0, process_extended_fsync, 1 }, { "lsetstat", "lsetstat@openssh.com", 0, process_extended_lsetstat, 1 }, - { "limits", "limits@openssh.com", 0, process_extended_limits, 1 }, + { "limits", "limits@openssh.com", 0, process_extended_limits, 0 }, { NULL, NULL, 0, NULL, 0 } }; |