[Top][All Lists]

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

Re: Finalizing 'inhibit-automatic-native-compilation'

From: Andrea Corallo
Subject: Re: Finalizing 'inhibit-automatic-native-compilation'
Date: Tue, 14 Feb 2023 08:56:05 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Mmmh, we already use the `make-temp-file' machinery anyway for every
>> compilation, but to understand if this is sufficient or doesn't help at
>> all, I should understand more on why using `temporary-file-directory' is
>> dangerous and in which context.
> `temporary-file-directory' may point to a world-writable directory, so
> it's vulnerable to the usual race condition where someone manages to
> predict the name of the file you're going to write and places there
> a symlink to some "interesting" place, so you end up overwriting some
> other file unwittingly.

Okay thanks for the explaination, should be easy to handle then, I'll
try to implement it as soon as I've a bit of time.


reply via email to

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