[Bug 3488] scp fails to locate remote paths containing a non-empty square bracket pair

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Oct 25 08:57:14 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3488

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Blocks|                            |3480
             Status|NEW                         |RESOLVED

--- Comment #6 from Damien Miller <djm at mindrot.org> ---
These are fixed in OpenSSH HEAD and will be in openssh-9.2.

commit 7190154de2c9fe135f0cc1ad349cb2fa45152b89 (HEAD -> master)
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Mon Oct 24 21:52:50 2022 +0000

    upstream: regress test for unmatched glob characters; fails before

    previous commit but passes now. bz3488; prodded by dtucker@

    OpenBSD-Regress-ID: 0cc5cc9ea4a6fd170dc61b9212f15badaafb3bbd

commit a4821a592456c3add3cd325db433110cdaaa3e5c
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Mon Oct 24 21:51:55 2022 +0000

    upstream: when scp(1) is using the SFTP protocol for transport (the

    default), better match scp/rcp's handling of globs that don't match
the
    globbed characters but do match literally (e.g. trying to transfer
    "foo.[1]").

    Previously scp(1) in SFTP mode would not match these pathnames but
    legacy scp/rcp mode would.

    Reported by Michael Yagliyan in bz3488; ok dtucker@

    OpenBSD-Commit-ID: d8a3773f53015ba811fddba7473769a2fd343e11


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=3480
[Bug 3480] tracking bug for openssh-9.2
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list