summaryrefslogtreecommitdiffstats
path: root/external/icu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-07 09:47:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-07 09:47:56 +0100
commit2af41bcb2e57df0d5281f81d5c7dec9bfdf37178 (patch)
tree13d78d37257b1acfd73159b3e39da2db81f99bba /external/icu
parentFactor out XFillBitmapItem::dumpAsXml() from sw (diff)
downloadcore-2af41bcb2e57df0d5281f81d5c7dec9bfdf37178.tar.gz
core-2af41bcb2e57df0d5281f81d5c7dec9bfdf37178.zip
external/icu: Work around -fsanitize=bounds
Change-Id: Iad87d17c162717aa33eec2113697422d9b0545ca
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 @@