summaryrefslogtreecommitdiffstats
path: root/external/icu
diff options
context:
space:
mode:
Diffstat (limited to 'external/icu')
-rw-r--r--external/icu/icu-ubsan.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/icu/icu-ubsan.patch.0 b/external/icu/icu-ubsan.patch.0
index 57296618f23c..e5d8ed6b3514 100644
--- a/external/icu/icu-ubsan.patch.0
+++ b/external/icu/icu-ubsan.patch.0
@@ -71,6 +71,17 @@
}
UBool
+--- source/common/ucmndata.c
++++ source/common/ucmndata.c
+@@ -75,7 +75,7 @@
+ typedef struct {
+ uint32_t count;
+ uint32_t reserved;
+- PointerTOCEntry entry[2]; /* Actual size is from count. */
++ PointerTOCEntry entry[1]; /* Actual size is from count. */
+ } PointerTOC;
+
+
--- source/common/ucmndata.h
+++ source/common/ucmndata.h
@@ -50,7 +50,7 @@