[openssh-commits] CVS: fuyu.mindrot.org: openssh

Darren Tucker dtucker at fuyu.mindrot.org
Fri Jan 8 18:53:43 EST 2010


CVSROOT:        /var/cvs
Module name:    openssh
Changes by:     dtucker at fuyu.mindrot.org 10/01/08 18:53:43

Modified files:
    .               : ChangeLog scp.c sftp.c ssh.c sshd_config.5

Log message:
   - guenther at 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@

Diff commands:
cvs -nQq rdiff -u -r1.5352 -r1.5353 openssh/ChangeLog
cvs -nQq rdiff -u -r1.182 -r1.183 openssh/scp.c
cvs -nQq rdiff -u -r1.123 -r1.124 openssh/sftp.c
cvs -nQq rdiff -u -r1.320 -r1.321 openssh/ssh.c
cvs -nQq rdiff -u -r1.119 -r1.120 openssh/sshd_config.5

ViewVC:
http://anoncvs.mindrot.org/index.cgi/openssh/ChangeLog?r1=1.5352;r2=1.5353&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/scp.c?r1=1.182;r2=1.183&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/sftp.c?r1=1.123;r2=1.124&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/ssh.c?r1=1.320;r2=1.321&view=patch
http://anoncvs.mindrot.org/index.cgi/openssh/sshd_config.5?r1=1.119;r2=1.120&view=patch

Please note that there may be a delay before commits are available
on the public ViewVC site.


More information about the openssh-commits mailing list