summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-08-31 23:02:42 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-05 18:00:24 +0100
commit92397ad5930922945fd60274987024f979b5aff8 (patch)
tree22a3e7903740a3f9648268ff7ee3cfb9a4f647a2 /meta/recipes-sato/webkit
parent675d3722051a775ad76316edd120d22fd3da2c88 (diff)
downloadpoky-92397ad5930922945fd60274987024f979b5aff8.tar.gz
webkit: 2.20.3 -> 2.20.5
Upgrade webkitgtk from 2.20.3 to 2.20.5. * include fix of CVE-2018-12911 * backport patch for fix CVE-2017-17821 (From OE-Core rev: b77193ca8fd362d7b711574aa0b6eb07f7cc605f) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-webkitgtk-fix-CVE-2017-17821.patch44
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.20.5.bb (renamed from meta/recipes-sato/webkit/webkitgtk_2.20.3.bb)5
2 files changed, 47 insertions, 2 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-webkitgtk-fix-CVE-2017-17821.patch b/meta/recipes-sato/webkit/webkitgtk/0001-webkitgtk-fix-CVE-2017-17821.patch
new file mode 100644
index 0000000000..a3f7599276
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-webkitgtk-fix-CVE-2017-17821.patch
@@ -0,0 +1,44 @@
1Backport patch to fix CVE-2017-17821. Refer to
2https://security-tracker.debian.org/tracker/CVE-2017-17821.
3
4Upstream-Status: Backport [https://trac.webkit.org/changeset/232119/webkit]
5CVE: CVE-2017-17821
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
8
9From 2a17b15297eb886b0bfb7d098ef607cfad6c3da0 Mon Sep 17 00:00:00 2001
10From: "mcatanzaro@igalia.com"
11 <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
12Date: Wed, 23 May 2018 17:54:01 +0000
13Subject: [PATCH] Prohibit shrinking the FastBitVector
14 https://bugs.webkit.org/show_bug.cgi?id=181020
15
16Reviewed by Oliver Hunt.
17
18Prohibit shrinking the FastBitVector. It's not prepared for this and the current usage does
19not require it.
20
21* wtf/FastBitVector.cpp:
22(WTF::FastBitVectorWordOwner::resizeSlow):
23
24git-svn-id: http://svn.webkit.org/repository/webkit/trunk@232119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
25---
26 Source/WTF/wtf/FastBitVector.cpp | 2 ++
27 2 files changed, 15 insertions(+)
28
29diff --git a/Source/WTF/wtf/FastBitVector.cpp b/Source/WTF/wtf/FastBitVector.cpp
30index eed316975f4..8b019aaa3ed 100644
31--- a/Source/WTF/wtf/FastBitVector.cpp
32+++ b/Source/WTF/wtf/FastBitVector.cpp
33@@ -42,6 +42,8 @@ void FastBitVectorWordOwner::setEqualsSlow(const FastBitVectorWordOwner& other)
34 void FastBitVectorWordOwner::resizeSlow(size_t numBits)
35 {
36 size_t newLength = fastBitVectorArrayLength(numBits);
37+
38+ RELEASE_ASSERT(newLength >= arrayLength());
39
40 // Use fastCalloc instead of fastRealloc because we expect the common
41 // use case for this method to be initializing the size of the bitvector.
42--
432.17.0
44
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.20.3.bb b/meta/recipes-sato/webkit/webkitgtk_2.20.5.bb
index a528c5d891..c8d4f94f19 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.20.3.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.20.5.bb
@@ -22,10 +22,11 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
22 file://detect-gstreamer-gl.patch \ 22 file://detect-gstreamer-gl.patch \
23 file://0012-soup-Forward-declare-URL-class.patch \ 23 file://0012-soup-Forward-declare-URL-class.patch \
24 file://0001-Fix-PaintingData-has-no-member-named-lightVector-on-.patch \ 24 file://0001-Fix-PaintingData-has-no-member-named-lightVector-on-.patch \
25 file://0001-webkitgtk-fix-CVE-2017-17821.patch \
25 " 26 "
26 27
27SRC_URI[md5sum] = "efb69a0cc3cc67ef2647efec22e44c69" 28SRC_URI[md5sum] = "72a05f6a4dc1c78b079590a8fd280401"
28SRC_URI[sha256sum] = "579b307d78fa16a73f112790178022166d7ad17d4147492ced9b9fba48f20dd8" 29SRC_URI[sha256sum] = "15c0f8d26e9605afe0948d161ba5fd82efee8eda2debd409fd40a440ac3af990"
29 30
30inherit cmake pkgconfig gobject-introspection perlnative distro_features_check upstream-version-is-even gtk-doc 31inherit cmake pkgconfig gobject-introspection perlnative distro_features_check upstream-version-is-even gtk-doc
31 32