diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-08 18:53:43 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-08 18:53:43 +1100 |
commit | b8c884a0ba4050e4267be786414127c0f09d5544 (patch) | |
tree | 18b20493bb52430d446f913e608968eb00dd49d3 /md5crypt.c | |
parent | 57e0d01260d3c1c7bf9366eed58c54a96eedbc81 (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 'md5crypt.c')
0 files changed, 0 insertions, 0 deletions