diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-07 09:47:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-07 09:47:56 +0100 |
commit | 2af41bcb2e57df0d5281f81d5c7dec9bfdf37178 (patch) | |
tree | 13d78d37257b1acfd73159b3e39da2db81f99bba | |
parent | 85ce7c0ac69577cf424f4230bcb9103cfdd73d43 (diff) |
external/icu: Work around -fsanitize=bounds
Change-Id: Iad87d17c162717aa33eec2113697422d9b0545ca
-rw-r--r-- | external/icu/icu-ubsan.patch.0 | 11 |
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 @@ |