]> granicus.if.org Git - icu/commitdiff
ICU-9448 make genuca leadByteArray[] large enough
authorMarkus Scherer <markus.icu@gmail.com>
Thu, 2 Aug 2012 15:19:57 +0000 (15:19 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Thu, 2 Aug 2012 15:19:57 +0000 (15:19 +0000)
X-SVN-Rev: 32081

tools/unicode/c/genuca/genuca.cpp

index f14b0f7c7050431a748f07408a632b91514f858b..b854159893a48f872242d8c4fb4f19f950608b3e 100644 (file)
@@ -767,7 +767,7 @@ UCAElements *readAnElement(FILE *data, tempUCATable *t, UCAConstants *consts, Le
                         }
                 }
             } else if (what_to_do == READSCRIPTTOLEADBYTES) { //vt[cnt].what_to_do == READSCRIPTTOLEADBYTES
-                uint16_t leadByteArray[100];
+                uint16_t leadByteArray[256];
                 uint32_t leadByteArrayCount = 0;
                 char scriptName[100];