GNU bug report logs - #36263
26.2.90; expand-file-name assertion failure if HOME is unset

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Mon, 17 Jun 2019 12:24:02 UTC

Severity: wishlist

Found in version 26.2.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 36263 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: p.stephani2 <at> gmail.com
Cc: 36263 <at> debbugs.gnu.org
Subject: Re: bug#36263: Fixed in master
Date: Mon, 17 Jun 2019 20:36:48 +0300
> Date: Mon, 17 Jun 2019 18:22:10 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 36263 <at> debbugs.gnu.org
> 
> OTOH, I see the same assertion violation in Emacs 25.2, so this is far
> from a new problem.
> 
> On the third hand, this assertion compiles to nothing in a production
> version, so a production version doesn't crash.
> 
> Therefore, it sounds like it isn't important enough to fix this on the
> release branch, unless I'm missing something.

Actually, I think that assertion has an off-by-one error, it should be

  eassert (tlen >= file_name_as_directory_slop + 1);

If I change it this way, the recipe finishes and returns an empty
string.  Does anyone see a problem with making such a change on
master?  (I still think that we don't need to make any changes on the
release branch.)

Thanks.




This bug report was last modified 5 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.