unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: h-fujishima@sakura.ad.jp, 2370@emacsbugs.donarmstrong.com
Subject: bug#2370: 23.0.90; decode-coding-region make emacs crash
Date: Thu, 19 Feb 2009 11:46:51 +0900	[thread overview]
Message-ID: <E1LZyw7-0005jG-4O@etlken> (raw)
In-Reply-To: <87zlgjwa8b.fsf@cyd.mit.edu> (message from Chong Yidong on Wed, 18 Feb 2009 19:17:56 -0500)

In article <87zlgjwa8b.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

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

> http://emacsbugs.donarmstrong.com/cgi-bin/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@m17n.org






  reply	other threads:[~2009-02-19  2:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-19  0:17 bug#2370: 23.0.90; decode-coding-region make emacs crash Chong Yidong
2009-02-19  2:46 ` Kenichi Handa [this message]
2009-02-19  3:06   ` Chong Yidong
2009-02-19  3:56     ` Kenichi Handa
2009-02-19  4:14   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2009-02-18  3:39 Hiroshi Fujishima

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LZyw7-0005jG-4O@etlken \
    --to=handa@m17n.org \
    --cc=2370@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=h-fujishima@sakura.ad.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).