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 #10 received at 2370 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Kenichi Handa  <handa <at> m17n.org>
Cc: Hiroshi Fujishima <h-fujishima <at> sakura.ad.jp>,
        2370 <at> debbugs.gnu.org
Subject: Re: 23.0.90; decode-coding-region make emacs crash
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.




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.