Bug 801330 - Make ISO2022JPCharLenTable large enough. r=smontagu
authorMats Palmgren <matspal@gmail.com>
Sun, 14 Oct 2012 19:10:04 +0200
changeset 110362 baaff43d6a16184ff1a2183bbc6248133b2cf20e
parent 110361 a53185bd1aed375e8444340e37e9c3c8f3e8b626
child 110363 d3204a38a712ee30bf5cd0766b4e850df50ff74f
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewerssmontagu
bugs801330
milestone19.0a1
Bug 801330 - Make ISO2022JPCharLenTable large enough. r=smontagu
extensions/universalchardet/src/base/nsEscSM.cpp
--- a/extensions/universalchardet/src/base/nsEscSM.cpp
+++ b/extensions/universalchardet/src/base/nsEscSM.cpp
@@ -160,17 +160,17 @@ PCK4BITS(eError,eError,eError,eError,eIt
 PCK4BITS(eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eError,eError),//18-1f 
 PCK4BITS(eError,     5,eError,eError,eError,     4,eError,eError),//20-27 
 PCK4BITS(eError,eError,eError,     6,eItsMe,eError,eItsMe,eError),//28-2f 
 PCK4BITS(eError,eError,eError,eError,eError,eError,eItsMe,eItsMe),//30-37 
 PCK4BITS(eError,eError,eError,eItsMe,eError,eError,eError,eError),//38-3f 
 PCK4BITS(eError,eError,eError,eError,eItsMe,eError,eStart,eStart) //40-47 
 };
 
-static const uint32_t ISO2022JPCharLenTable[] = {0, 0, 0, 0, 0, 0, 0, 0};
+static const uint32_t ISO2022JPCharLenTable[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
 
 const SMModel ISO2022JPSMModel = {
   {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, ISO2022JP_cls },
   10,
   {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, ISO2022JP_st },
   CHAR_LEN_TABLE(ISO2022JPCharLenTable),
   "ISO-2022-JP",
 };