GNU bug report logs - #56443
28.1; Mac segmentation fault with ffap

Previous Next

Package: emacs;

Reported by: Stephen Eglen <sje30 <at> cam.ac.uk>

Date: Thu, 7 Jul 2022 17:23:02 UTC

Severity: normal

Found in version 28.1

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


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

From: Mattias Engdegård <mattiase <at> acm.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: sje30 <at> cam.ac.uk, 56443 <at> debbugs.gnu.org,
 Daniel Martín <mardani29 <at> yahoo.es>
Subject: bug#56443: 28.1; Mac segmentation fault with ffap
Date: Fri, 8 Jul 2022 11:35:27 +0200
The call to file_name_directory returns nil (the argument being "mailto:sje30 <at> cam.ac.uk"). What about:

@@ -2603,7 +2603,7 @@ DEFUN ("file-name-case-insensitive-p", Ffile_name_case_insensitive_p,
       Lisp_Object parent = file_name_directory (filename);
       /* Avoid infinite loop if the root has trouble
         (impossible?).  */
-      if (!NILP (Fstring_equal (parent, filename)))
+      if (!STRINGP (parent) || !NILP (Fstring_equal (parent, filename)))
        return Qnil;
       filename = parent;
     }





This bug report was last modified 3 years and 13 days ago.

Previous Next


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