summaryrefslogtreecommitdiff
path: root/external/nss/ubsan.patch.0
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-04-20 22:19:45 +0200
committerMichael Stahl <mstahl@redhat.com>2017-04-21 14:15:17 +0200
commit0cdf41419af854acccee0f819d4add7e8cafb7dc (patch)
tree2c759b38c2834e288c753632120f7b95bb3c756a /external/nss/ubsan.patch.0
parent87dc77ba52b003a89892e48346e140c47a1ebbb6 (diff)
nss: upgrade to release 3.29.5
- fixes CVE-2017-5461 and CVE-2017-5462 - drop ubsan-alignment.patch.0, there is apparently now some NO_SANITIZE_ALIGNMENT macro upstream to get this effect - drop some hunks to prevent hard-coding CC/CCC vars, upstream now respects environment vars (but doesn't quote them...) - drop first hunk of ubsan.patch.0, fixed upstream - drop hunk for gtest-internal.h, header looks much newer anyway Change-Id: I5c484c02c1235e185af1ef5166b069303d3378e1 Reviewed-on: https://gerrit.libreoffice.org/36756 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'external/nss/ubsan.patch.0')
-rw-r--r--external/nss/ubsan.patch.011
1 files changed, 0 insertions, 11 deletions
diff --git a/external/nss/ubsan.patch.0 b/external/nss/ubsan.patch.0
index 1254afd0c4ad..059a9f3b2c0a 100644
--- a/external/nss/ubsan.patch.0
+++ b/external/nss/ubsan.patch.0
@@ -1,14 +1,3 @@
---- nss/lib/certdb/crl.c
-+++ nss/lib/certdb/crl.c
-@@ -1982,7 +1982,7 @@
- return SECSuccess;
- }
- /* all CRLs are good, sort them by thisUpdate */
-- qsort(cache->crls, cache->ncrls, sizeof(CachedCrl*), SortCRLsByThisUpdate);
-+ if (cache->ncrls != 0) qsort(cache->crls, cache->ncrls, sizeof(CachedCrl*), SortCRLsByThisUpdate);
-
- if (cache->ncrls) {
- /* pick the newest CRL */
--- nss/lib/softoken/legacydb/pk11db.c
+++ nss/lib/softoken/legacydb/pk11db.c
@@ -65,7 +65,7 @@