GNU bug report logs - #5221
23.1; read_escape too greedy with "\x"

Previous Next

Package: emacs;

Reported by: Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>

Date: Tue, 15 Dec 2009 12:35:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>
Cc: 5221 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#5221: 23.1; read_escape too greedy with "\x"
Date: Thu, 17 Dec 2009 16:53:43 +0100
Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl> writes:

> Emacs (read_escape() function at lread.c file) interpretinterprets
> "\x3a480" string as "0x3a480" instead of ":" and "480" coming next.
> Some software (most? gnupg to name one) assume these escapes represent
> single bytes.

Then they are broken.  The syntax of strings is documented in
(elisp)String Type.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 15 years and 214 days ago.

Previous Next


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