[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45540: 27.1; symbolic links crash dired
From: |
Lars Ingebrigtsen |
Subject: |
bug#45540: 27.1; symbolic links crash dired |
Date: |
Sat, 23 Jan 2021 23:48:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Devon Sean McCullough <Emacs-hacker2018@jovi.net> writes:
>
>> Here's a fix. I did NOT check this carefully.
>> Dired crashes when (< (length file-name) (length root))
>
> The patch looks reasonable -- but do you have a test case that
> reproduces this bug (starting from "emacs -Q") so that we can verify the
> bug and the fix?
I tried various link scenarios to come up with a case where file-name
was shorter than root, and I was unable to. Do you have a test case for
such a setup?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#45540: 27.1; symbolic links crash dired,
Lars Ingebrigtsen <=