Subject: bug#2370: 23.0.90; decode-coding-region make emacs crash

From: Chong Yidong <[email-masked]>
Date: Wed, 18 Feb 2009 19:17:56 -0500

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.