[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1864: 23.0.60; detect attached file coding system, make emacs crash.
From: |
Juanma Barranquero |
Subject: |
bug#1864: 23.0.60; detect attached file coding system, make emacs crash. |
Date: |
Wed, 14 Jan 2009 09:44:34 +0100 |
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