NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/46815: bin

>Number:         46815
>Category:       bin
>Synopsis:       scp does not validate its arguments before asking for remote 
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 20 00:45:00 +0000 2012
>Originator:     mac%SS.Culver.Net@localhost
>Release:        NetBSD 5.1_RC3
System: NetBSD SS.Culver.Net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Sat Jun 12 
20:26:01 UTC 2010
Architecture: x86_64
Machine: amd64
        /usr/bin/scp does not check its arguments before connecting to the 
remote machine


$ rm dotp.tar
$ echo > dotp.tar.gz

$ scp dotp.tar tim:/usr/mac/
dotp.tar: No such file or directory

$ scp dotp.tar.gz tim:/usr/mac/
        100%  834KB 278.0KB/s  65.9KB/s   00:03


Note that I mis-typed the filename; but scp made me go through a useless entry 
of my password before it complained.

        check arguments before initiating network connection.


Home | Main Index | Thread Index | Old Index