GNU bug report logs - #2370
23.0.90; decode-coding-region make emacs crash

Previous Next

Package: emacs;

Reported by: Hiroshi Fujishima <h-fujishima <at> sakura.ad.jp>

Date: Wed, 18 Feb 2009 03:45:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 2370 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: h-fujishima <at> sakura.ad.jp, 2370 <at> debbugs.gnu.org
Subject: Re: 23.0.90; decode-coding-region make emacs crash
Date: Thu, 19 Feb 2009 11:46:51 +0900
In article <87zlgjwa8b.fsf <at> cyd.mit.edu>, Chong Yidong <cyd <at> stupidchicken.com> writes:

> Hi Handa-san,
> Please take a look at this bug:

> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2370

> The crash occurs because of memory corruption due to overwriting the
> carrover buffer at line 6809 of coding.c.  For the sample provided by
> the OP, (coding->src_bytes - coding->consumed) == 99.  This looks like a
> bug in decode_coding_iso_2022.

I found two bugs related to this problem, and just installed
a fix for one of them.  Now the above specific problem
should be fixed.  I'll keep on workning to fix the other bug
to make the decoding more robust.

---
Kenichi Handa
handa <at> m17n.org




This bug report was last modified 16 years and 75 days ago.

Previous Next


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