[Libreoffice-commits] core.git: external/icu
Stephan Bergmann
sbergman at redhat.com
Wed Jan 7 00:48:25 PST 2015
external/icu/icu-ubsan.patch.0 | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 2af41bcb2e57df0d5281f81d5c7dec9bfdf37178
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jan 7 09:47:42 2015 +0100
external/icu: Work around -fsanitize=bounds
Change-Id: Iad87d17c162717aa33eec2113697422d9b0545ca
diff --git a/external/icu/icu-ubsan.patch.0 b/external/icu/icu-ubsan.patch.0
index 5729661..e5d8ed6 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 @@
More information about the Libreoffice-commits
mailing list