]> andersk Git - openssh.git/commit
- guenther@cvs.openbsd.org 2009/12/20 07:28:36
authordtucker <dtucker>
Fri, 8 Jan 2010 07:53:43 +0000 (07:53 +0000)
committerdtucker <dtucker>
Fri, 8 Jan 2010 07:53:43 +0000 (07:53 +0000)
commitc3773c6e9173a5fb0053d5d9ad37969962a92e0f
tree88fae277117723f70ee00a383f05e290d05f1da1
parentd7af0c507a35fa24c857296be9e3dbc4e33117a9
   - 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@
ChangeLog
scp.c
sftp.c
ssh.c
sshd_config.5
This page took 0.041785 seconds and 5 git commands to generate.