Bug 3054

Summary: sftp -R num_requests allows num_requests+1
Product: Portable OpenSSH Reporter: Stephen Goetze <steve>
Component: sftpAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: minor CC: djm
Priority: P5    
Version: 8.0p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 3162    
Attachments:
Description Flags
Patch file against openssh-8.0p1 sftp-client.c none

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.