GNU bug report logs - #11073
24.0.94; BIDI-related crash in redisplay with certain byte sequences

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Fri, 23 Mar 2012 11:27:02 UTC

Severity: normal

Found in version 24.0.94

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: 11073 <at> debbugs.gnu.org
Subject: Re: bug#11073: 24.0.94;
	BIDI-related crash in redisplay with certain byte sequences
Date: Fri, 23 Mar 2012 14:35:28 +0200
> Date: Fri, 23 Mar 2012 12:55:19 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
>  emacs -Q
>  C-x C-f bidicrash.txt RET
> 
> where the file bidicrash.txt was created with this shell command:
> 
>  echo -e "\0365\0205\0264\0225"
> 
> (On Windows, use the port of GNU `echo' rather than the built-in shell
> command.)
> 
> Emacs crashes; the backtrace is below.
> 
> I'm working on fixing this.

Fixed in revision 107665 on the trunk.  It was a pretty basic blunder.

(Repeat after me: FETCH_MULTIBYTE_CHAR followed by CHAR_BYTES is not
always equivalent to STRING_CHAR_AND_LENGTH.)




This bug report was last modified 12 years and 95 days ago.

Previous Next


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