[Libreoffice-commits] core.git: external/nss
Stephan Bergmann
sbergman at redhat.com
Wed Aug 6 07:50:52 PDT 2014
external/nss/UnpackedTarball_nss.mk | 3 ++-
external/nss/ubsan.patch.0 | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
New commits:
commit 83e5c3e93d9a6f306973d25f6e0426b5d0d06d07
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Aug 6 16:50:11 2014 +0200
left shift of 4276994303 by 32 places cannot be represented in type 'long'
Change-Id: Ie9ddc5a42116720e0602d7fb38360f01b71df69c
diff --git a/external/nss/UnpackedTarball_nss.mk b/external/nss/UnpackedTarball_nss.mk
index 11839c4..0f166c9 100644
--- a/external/nss/UnpackedTarball_nss.mk
+++ b/external/nss/UnpackedTarball_nss.mk
@@ -22,7 +22,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,nss,\
$(if $(filter WNTGCC,$(OS)$(COM)),external/nss/nspr-4.9-build.patch.3 \
external/nss/nss-3.13.3-build.patch.3 \
external/nss/nss.mingw.patch.3) \
- external/nss/nspr-build-config.patch \
+ external/nss/nspr-build-config.patch \
+ external/nss/ubsan.patch.0 \
))
# nss-pem is only needed for internal curl to read the NSS CA database
diff --git a/external/nss/ubsan.patch.0 b/external/nss/ubsan.patch.0
new file mode 100644
index 0000000..298ca40
--- /dev/null
+++ b/external/nss/ubsan.patch.0
@@ -0,0 +1,13 @@
+--- nss/lib/libpkix/pkix/util/pkix_tools.h
++++ nss/lib/libpkix/pkix/util/pkix_tools.h
+@@ -1458,8 +1458,8 @@
+
+ extern PRLogModuleInfo *pkixLog;
+
+-#define PKIX_MAGIC_HEADER LL_INIT(0xFEEDC0FF, 0xEEFACADE)
+-#define PKIX_MAGIC_HEADER_DESTROYED LL_INIT(0xBAADF00D, 0xDEADBEEF)
++#define PKIX_MAGIC_HEADER LL_INIT(0xFEEDC0FFU, 0xEEFACADEU)
++#define PKIX_MAGIC_HEADER_DESTROYED LL_INIT(0xBAADF00DU, 0xDEADBEEFU)
+
+ /* see source file for function documentation */
+
More information about the Libreoffice-commits
mailing list