This is an automated email from the ASF dual-hosted git repository.
scantor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xerces-c.git
The following commit(s) were added to refs/heads/master by this push:
new a91b38c XERCESC-2189 - XMLChar with NEED_TO_GEN_TABLE has 2 buffer
out of bounds reads
a91b38c is described below
commit a91b38c78cdf14ed4bc0b7655b985128f9a51065
Author: Scott Cantor <[email protected]>
AuthorDate: Wed Apr 1 12:28:10 2020 -0400
XERCESC-2189 - XMLChar with NEED_TO_GEN_TABLE has 2 buffer out of bounds
reads
---
src/xercesc/util/XMLChar.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@ XMLByte XMLChar1_1::fgCharCharsTable1_1[0x10000] =
#include <stdio.h>
-static XMLCh gTmpCharTable[0xFFFF];
+static XMLCh gTmpCharTable[0x10000];
static void initOneTable(const XMLCh* const theTable
, const XMLByte theMask)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]