(decode_coding_charset): Check type of an element of

vector VALIDS.
This commit is contained in:
Kenichi Handa 2008-12-03 05:48:11 +00:00
parent b1bde62298
commit 1b17adfd3b

View file

@ -5160,7 +5160,7 @@ decode_coding_charset (coding)
code = c;
val = AREF (valids, c);
if (NILP (val))
if (! INTEGERP (val) && ! CONSP (val))
goto invalid_code;
if (INTEGERP (val))
{