[PATCH] Expand tilde for UNIX domain socket forwards.
Damien Miller
djm at mindrot.org
Tue Aug 18 09:41:47 AEST 2015
On Mon, 17 Aug 2015, Todd C. Miller wrote:
> I like the idea but tilde_expand_filename() calls fatal() if it
> cannot resolve ~foo. This is not terrible when using -L and -R on
> the normal command line but it seems pretty harsh to exit when -L
> or -R are used via the ~C escape or the streamlocal-forward at openssh.com
> request.
> Message-Id: <aea6cdc1d1b42d07 at courtesan.com>
>
> Perhaps we just need a non-fatal version of tilde_expand_filename().
Yeah, we should refactor it into a version that returns a ssherr.h code
and (perhaps) leave the existing tilde_expand_filename() as a wrapper.
-d
More information about the openssh-unix-dev
mailing list