all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: tzz@lifelogs.com, 1380@emacsbugs.donarmstrong.com
Subject: bug#1380: 23.0.60; file content causes CVS emacs to crash
Date: Fri, 21 Nov 2008 11:25:07 +0900	[thread overview]
Message-ID: <E1L3Lhj-0006xo-LJ@etlken.m17n.org> (raw)
In-Reply-To: <87myfuhmrk.fsf@cyd.mit.edu> (message from Chong Yidong on Thu, 20 Nov 2008 02:36:31 -0500)

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

> > The file content in a file causes Emacs to crash as soon as it's
> > opened.  Tested with "emacs -q file".

> Looks like the charbuf in the coding structure is overflowing.  The
> following rough patch prevents this overflow and the crash, but maybe
> there is a deeper bug.  The comments in coding.c:6610 says "We are sure
> that the number of data is less than the size of coding->charbuf."  This
> bug comes about due to that faile assumption.

> Handa-san, what do you think?

I found that it's a bug in detect/decode_coding_iso_2022,
and just installed a fix.

---
Kenichi Handa
handa@ni.aist.go.jp







  reply	other threads:[~2008-11-21  2:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20  7:36 bug#1380: 23.0.60; file content causes CVS emacs to crash Chong Yidong
2008-11-21  2:25 ` Kenichi Handa [this message]
     [not found] ` <mailman.909.1227235818.26697.bug-gnu-emacs@gnu.org>
2008-11-21 18:41   ` Ted Zlatanov
2008-11-26 15:32     ` Ted Zlatanov
  -- strict thread matches above, loose matches on Subject: below --
2008-11-19 16:06 Ted Zlatanov

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

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

  git send-email \
    --in-reply-to=E1L3Lhj-0006xo-LJ@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=1380@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=tzz@lifelogs.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.