tramp-devel
[Top][All Lists]
Advanced

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

Re: [BUG] TRAMP 2.1.20: "uudecode -o /dev/stdout" check


From: Michael Albinus
Subject: Re: [BUG] TRAMP 2.1.20: "uudecode -o /dev/stdout" check
Date: Mon, 19 Dec 2011 18:35:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Dmitry Kurochkin <address@hidden> writes:

Hi Dmitry,

> Do you mean the local backup file created by Emacs?

Yes, I mean Emacs' backup files. Whether they are local or remote,
depends on your configuration.

>> Maybe. But there are also other dangerous commands in  Tramp, which must
>> be protected then. Isn't this overcautious?
>
> I guess you know better.  But IMHO it is not.  I do not know about other
> commands, but if they use output redirection, they should probably be
> protected as well.
>
> If decoders were using output file options instead or redirection
> (i.e. uudecode -o file instead of uudecode -o- > file), then "which"
> protection would not be needed.

Sounds like a good compromise. Next days, I'll walk through the code and
try to replace file redirection whereever possible. I'll let you know
when there's something to test.

>
> Thanks,
>   Dmitry

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]