Bug 3054 - sftp -R num_requests allows num_requests+1
Summary: sftp -R num_requests allows num_requests+1
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sftp (show other bugs)
Version: 8.0p1
Hardware: All All
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_8_4
  Show dependency treegraph
 
Reported: 2019-08-10 07:15 AEST by Stephen Goetze
Modified: 2020-10-02 14:55 AEST (History)
1 user (show)

See Also:


Attachments
Patch file against openssh-8.0p1 sftp-client.c (338 bytes, patch)
2019-08-10 07:15 AEST, Stephen Goetze
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Goetze 2019-08-10 07:15:40 AEST
Created attachment 3310 [details]
Patch file against openssh-8.0p1 sftp-client.c

When the -R num_requests option is specified on the sftp command line, the actual maximum number of requests allowed is num_requests+1.

This means that there is no way to configure a maximum of one outstanding request at a time which is useful in certain debugging scenarios.
Comment 1 Damien Miller 2020-05-15 13:57:56 AEST
Patch applied - thanks. This will be in the OpenSSH 8.4 release
Comment 2 Darren Tucker 2020-10-02 14:55:04 AEST
Mass close of all bugs fixed in 8.4 release.