summaryrefslogtreecommitdiff
path: root/PROTOCOL
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-08 18:53:43 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-08 18:53:43 +1100
commitb8c884a0ba4050e4267be786414127c0f09d5544 (patch)
tree18b20493bb52430d446f913e608968eb00dd49d3 /PROTOCOL
parent57e0d01260d3c1c7bf9366eed58c54a96eedbc81 (diff)
- guenther@cvs.openbsd.org 2009/12/20 07:28:36
[ssh.c sftp.c scp.c] When passing user-controlled options with arguments to other programs, pass the option and option argument as separate argv entries and not smashed into one (e.g., as -l foo and not -lfoo). Also, always pass a "--" argument to stop option parsing, so that a positional argument that starts with a '-' isn't treated as an option. This fixes some error cases as well as the handling of hostnames and filenames that start with a '-'. Based on a diff by halex@ ok halex@ djm@ deraadt@
Diffstat (limited to 'PROTOCOL')
0 files changed, 0 insertions, 0 deletions