GNU bug report logs - #24206
25.1; Curly quotes generate invalid strings, leading to a segfault

Previous Next

Package: emacs;

Reported by: Phil <p.stephani2 <at> gmail.com>

Date: Thu, 11 Aug 2016 18:57:02 UTC

Severity: normal

Found in version 25.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: p.stephani2 <at> gmail.com, johnw <at> gnu.org, schwab <at> linux-m68k.org,
 nicolas <at> petton.fr, 24206 <at> debbugs.gnu.org
Subject: Re: bug#24206: 25.1; Curly quotes generate invalid strings, leading
 to a segfault
Date: Tue, 16 Aug 2016 21:31:40 +0300
> Cc: schwab <at> linux-m68k.org, p.stephani2 <at> gmail.com, johnw <at> gnu.org,
>  nicolas <at> petton.fr, 24206 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Tue, 16 Aug 2016 10:37:39 -0700
> 
> Let's not cut the RC now, as unfortunately that patch fails spectacularly. (I 
> didn't test it yesterday; I tested your other patch, which is obviously better.) 
> To reproduce the problem, run emacs -Q and "C-h f car RET"; Emacs will display 
> "Wrong type argument: integer-or-marker-p, nil" instead of help.

Thanks, that blunder should be fixed now.

> The attached patch to emacs-25 fixes the problem. It makes the code functionally 
> equivalent to the other of the 2 patches that you posted yesterday, and is 
> simpler. OK to install in emacs-25?

Sorry, no.  I don't want to indiscriminately convert unibyte strings
to multibyte in substitute-command-keys.




This bug report was last modified 8 years and 339 days ago.

Previous Next


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