Subject: Re: 23.0.90; decode-coding-region make emacs crash

From: Kenichi Handa <[email-masked]>
Date: Thu, 19 Feb 2009 11:46:51 +0900

In article <[email-masked]>, Chong Yidong <[email-masked]> 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
[email-masked]