emacs-devel
[Top][All Lists]
Advanced

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

Re: Finding the dump


From: Andreas Schwab
Subject: Re: Finding the dump
Date: Wed, 23 Jan 2019 16:44:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux)

On Jan 23 2019, Stefan Monnier <address@hidden> wrote:

>   This is because I run my Emacs via a symlink, and load_pdump is not
>   careful to try and follow symlinks while looking for the .pdmp next to
>   the executable.

Since argv[0] is almost never absolute, that route doesn't work anyway.
It's even a security bug, since it happily loads a (possibly
manipulated) dump file from the current directory if it has the right
hash.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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