commit | a91b38c78cdf14ed4bc0b7655b985128f9a51065 | [log] [tgz] |
---|---|---|
author | Scott Cantor <cantor.2@osu.edu> | Wed Apr 01 12:28:10 2020 -0400 |
committer | Scott Cantor <cantor.2@osu.edu> | Wed Apr 01 12:28:10 2020 -0400 |
tree | 8dc0ab550910902ce0cd0ae970dce9b86f3ef04e | |
parent | aacdef3fa74bea84ff1ff4cd699782bcc080873f [diff] |
XERCESC-2189 - XMLChar with NEED_TO_GEN_TABLE has 2 buffer out of bounds reads
diff --git a/src/xercesc/util/XMLChar.cpp b/src/xercesc/util/XMLChar.cpp index 2d8b13c..46a61da 100644 --- a/src/xercesc/util/XMLChar.cpp +++ b/src/xercesc/util/XMLChar.cpp
@@ -8837,7 +8837,7 @@ #include <stdio.h> -static XMLCh gTmpCharTable[0xFFFF]; +static XMLCh gTmpCharTable[0x10000]; static void initOneTable(const XMLCh* const theTable , const XMLByte theMask)