all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Chong Yidong" <cyd@stupidchicken.com>
Cc: 1864@emacsbugs.donarmstrong.com,
	Wang Diancheng <dianchengwang@gmail.com>,
	Kenichi Handa <handa@m17n.org>
Subject: bug#1864: 23.0.60; detect attached file coding system, make emacs crash.
Date: Wed, 14 Jan 2009 09:44:34 +0100	[thread overview]
Message-ID: <f7ccd24b0901140044h7bcce4c0y34eb138ebfdca712@mail.gmail.com> (raw)
In-Reply-To: <87priq8ruy.fsf@cyd.mit.edu>

On Wed, Jan 14, 2009 at 04:54, Chong Yidong <cyd@stupidchicken.com> wrote:

> *** 1612,1617 ****
> --- 1612,1621 ----
>        {
>          ONE_MORE_BYTE (c1);
>          ONE_MORE_BYTE (c2);
> +
> +         if (c1 < 0 || c2 < 0)
> +           break;
> +
>          if (! e[c1])
>            {
>              e[c1] = 1;

Don't you need a test also before lines 1605-1606, where c1 and c2 are
used as array indexes?

  Juanma






  reply	other threads:[~2009-01-14  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  3:54 bug#1864: 23.0.60; detect attached file coding system, make emacs crash Chong Yidong
2009-01-14  8:44 ` Juanma Barranquero [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-12  2:51 Wang Diancheng

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=f7ccd24b0901140044h7bcce4c0y34eb138ebfdca712@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=1864@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=dianchengwang@gmail.com \
    --cc=handa@m17n.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 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.