Fix from shutdown@flashmail.com for 368859, r=me.

This commit is contained in:
brendan%mozilla.org 2007-02-16 01:29:37 +00:00
parent 2f7c781cd2
commit 346ae8b70c

View File

@ -2010,7 +2010,7 @@ skipline:
if (!JS7_ISDEC(c))
break;
n = 10 * n + JS7_UNDEC(c);
if (n >= ATOM_INDEX_LIMIT) {
if (n >= UINT16_LIMIT) {
js_ReportCompileErrorNumber(cx, ts,
JSREPORT_TS | JSREPORT_ERROR,
JSMSG_SHARPVAR_TOO_BIG);