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


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: p.stephani2 <at> gmail.com, johnw <at> gnu.org, nicolas <at> petton.fr, 24206 <at> debbugs.gnu.org
Subject: bug#24206: 25.1; Curly quotes generate invalid strings, leading to a segfault
Date: Sun, 14 Aug 2016 18:12:25 -0700
Paul Eggert wrote:
> On 08/14/2016 12:21 PM, Eli Zaretskii wrote:
>> Paul, would you agree with the following alternative patch for the
>> release branch?
>
> Sure, that patch should also prevent crash that initiated this bug report
> (though it does not fix the problem in general). Please mark it with "Do not
> merge to master".
>

Whoops, I spoke too soon. Although your patch would prevent the crash, it has 
the unfortunate side effect of almost always disabling text-quoting-style, as 
the input to substitute-command-keys is normally not multibyte. So we really 
need some other fix, such as the one in <http://bugs.gnu.org/24206#22>.




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.