unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#1380: 23.0.60; file content causes CVS emacs to crash
Date: Fri, 21 Nov 2008 12:41:43 -0600	[thread overview]
Message-ID: <86wsewvs48.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.909.1227235818.26697.bug-gnu-emacs@gnu.org

On Fri, 21 Nov 2008 11:25:07 +0900 Kenichi Handa <handa@m17n.org> wrote: 

KH> 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?

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

Fix confirmed here.

Thanks
Ted


  parent reply	other threads:[~2008-11-21 18:41 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
     [not found] ` <mailman.909.1227235818.26697.bug-gnu-emacs@gnu.org>
2008-11-21 18:41   ` Ted Zlatanov [this message]
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

  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=86wsewvs48.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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).