[Bug 3884] The SSH_AUTH_SOCK variable is not quoted

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 23 09:35:09 AEDT 2025


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
I think you could use misc.c:argv_assemble() to do the quoting with
less new code, e.g.

    tmp = argv_assemble(1, &socket_name)
    printf(format, SSH_AUTHSOCKET_ENV_NAME, tmp,
        SSH_AUTHSOCKET_ENV_NAME);
    free(tmp);

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list