[Bug 3884] The SSH_AUTH_SOCK variable is not quoted

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Oct 24 13:09:27 AEDT 2025


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3916|0                           |1
        is obsolete|                            |
                 CC|                            |dtucker at dtucker.net
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #3917|                            |ok?(dtucker at dtucker.net)
              Flags|                            |

--- Comment #6 from Damien Miller <djm at mindrot.org> ---
Created attachment 3917
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3917&action=edit
Use argv_assemble to quote socket path

Here's a version that uses argv_assemble().

It doesn't try to deal with other shell metacharacters in $HOME. We've
never tried to deal with that case before, e.g. in $TMPDIR but we could
do it as a separate patch if there's a valid usecase.

-- 
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