From 63ef7672853d9a607e29cb56b6c50fcba6db8232 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Fri, 16 Feb 2007 01:29:37 +0000 Subject: [PATCH] Fix from shutdown@flashmail.com for 368859, r=me. --- js/src/jsscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsscan.c b/js/src/jsscan.c index d6f9df2b7c8..ccd2f3c5dc3 100644 --- a/js/src/jsscan.c +++ b/js/src/jsscan.c @@ -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);