GNU bug report logs - #40913
24.5; Crash on open of file

Previous Next

Package: emacs;

Reported by: Jason Gibson <jgibson <at> perforce.com>

Date: Mon, 27 Apr 2020 22:00:02 UTC

Severity: normal

Found in version 24.5

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jason Gibson <jgibson <at> perforce.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 40913 <at> debbugs.gnu.org
Subject: bug#40913: 24.5; Crash on open of file
Date: Tue, 28 Apr 2020 09:52:31 -0700
>> From: Jason Gibson <jgibson <at> perforce.com>
>> Date: Mon, 27 Apr 2020 14:31:15 -0700
>>
>> Attached is a file that crashes Emacs on find-file (find-file-literally
>> does not crash).  E.g.:
>>
>>   tar xf foo8.tar
>>   LC_CTYPE=en_US.UTF-8 emacs -Q -nw --eval '(find-file "foo8")'
>>   *poof*
>
> Thanks.  This is a very old bug, now fixed on the emacs-27 branch.  If
> you can build that branch, please see that the crash is gone now.

The change works for me as well.

Since this would seem to be a good vector for remote buffer overflow, it
might make sense to backport this to prior releases.

Thanks for the quick fix.

This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.





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

Previous Next


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