[Libreoffice-commits] core.git: external/libetonyek
Stephan Bergmann
sbergman at redhat.com
Thu May 21 08:26:37 PDT 2015
external/libetonyek/UnpackedTarball_libetonyek.mk | 1 +
external/libetonyek/ubsan.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
New commits:
commit 15cc77f8d3d1edfd0e8114829bc4b340c3d73b4d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu May 21 16:25:54 2015 +0100
external/libetonyek: -fsanitize=enum
e.g., during CppunitTest_writerperfect_impress
Change-Id: Ib9eb7a9ba7c9bad9cc43fbe2132ca315e2f28c0a
diff --git a/external/libetonyek/UnpackedTarball_libetonyek.mk b/external/libetonyek/UnpackedTarball_libetonyek.mk
index c531894..834bef2b 100644
--- a/external/libetonyek/UnpackedTarball_libetonyek.mk
+++ b/external/libetonyek/UnpackedTarball_libetonyek.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libetonyek,\
external/libetonyek/assert.patch \
external/libetonyek/0001-missing-include.patch.1 \
external/libetonyek/win_build.patch.1 \
+ external/libetonyek/ubsan.patch \
))
ifeq ($(COM_GCC_IS_CLANG),TRUE)
diff --git a/external/libetonyek/ubsan.patch b/external/libetonyek/ubsan.patch
new file mode 100644
index 0000000..f0ab147
--- /dev/null
+++ b/external/libetonyek/ubsan.patch
@@ -0,0 +1,11 @@
+--- src/lib/contexts/IWORKPropertyMapElement.cpp
++++ src/lib/contexts/IWORKPropertyMapElement.cpp
+@@ -264,7 +264,7 @@
+
+ void AlignmentElement::endOfElement()
+ {
+- IWORKAlignment prop;
++ IWORKAlignment prop = IWORK_ALIGNMENT_LEFT;
+
+ if (m_value)
+ {
More information about the Libreoffice-commits
mailing list