diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-11-14 21:26:26 +0100 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-11-30 15:13:57 +0100 |
| commit | 81ce9f1d0f6763ff12cf082ad2f33b04c348780f (patch) | |
| tree | 5d5d42a8162a8edf2fa449082893effcf6b08b98 /meta-oe | |
| parent | d1620baeb6771158e1845f8332424ad9b74a0932 (diff) | |
| download | meta-openembedded-81ce9f1d0f6763ff12cf082ad2f33b04c348780f.tar.gz | |
libwmf: patch CVE-2015-4696
Details: https://nvd.nist.gov/vuln/detail/CVE-2015-4696
Pick the patch that mentions the vulnerability ID explicitly.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-extended/libwmf/libwmf/CVE-2015-4696.patch | 37 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libwmf/libwmf/CVE-2015-4696.patch b/meta-oe/recipes-extended/libwmf/libwmf/CVE-2015-4696.patch new file mode 100644 index 0000000000..bd5fc4d85f --- /dev/null +++ b/meta-oe/recipes-extended/libwmf/libwmf/CVE-2015-4696.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From f743ef455dfb1faade0ca5290994087ef8b12a98 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> | ||
| 3 | Date: Wed, 8 Aug 2018 14:00:49 +0100 | ||
| 4 | Subject: [PATCH] CVE-2015-4696 | ||
| 5 | |||
| 6 | CVE: CVE-2015-4696 | ||
| 7 | Upstream-Status: Backport [https://github.com/caolanm/libwmf/commit/f47cbdf96838c2daa7b8e489f59e62371d33352a] | ||
| 8 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 9 | --- | ||
| 10 | src/player/meta.h | 5 ++++- | ||
| 11 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/src/player/meta.h b/src/player/meta.h | ||
| 14 | index 3e13688..f86c5f9 100644 | ||
| 15 | --- a/src/player/meta.h | ||
| 16 | +++ b/src/player/meta.h | ||
| 17 | @@ -2585,6 +2585,8 @@ static int meta_dc_restore (wmfAPI* API,wmfRecord* Record,wmfAttributes* attrlis | ||
| 18 | polyrect.BR[i] = clip->rects[i].BR; | ||
| 19 | } | ||
| 20 | |||
| 21 | + if (FR->region_clip) FR->region_clip (API,&polyrect); | ||
| 22 | + | ||
| 23 | wmf_free (API,polyrect.TL); | ||
| 24 | wmf_free (API,polyrect.BR); | ||
| 25 | } | ||
| 26 | @@ -2593,9 +2595,10 @@ static int meta_dc_restore (wmfAPI* API,wmfRecord* Record,wmfAttributes* attrlis | ||
| 27 | polyrect.BR = 0; | ||
| 28 | |||
| 29 | polyrect.count = 0; | ||
| 30 | + | ||
| 31 | + if (FR->region_clip) FR->region_clip (API,&polyrect); | ||
| 32 | } | ||
| 33 | |||
| 34 | - if (FR->region_clip) FR->region_clip (API,&polyrect); | ||
| 35 | |||
| 36 | return (changed); | ||
| 37 | } | ||
diff --git a/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb b/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb index e135b1764b..bb1aecd16d 100644 --- a/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb +++ b/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb | |||
| @@ -22,6 +22,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/${BPN}/${PV}/${BPN}-${PV}.tar.gz;name=ta | |||
| 22 | file://0001-configure-use-pkg-config-for-freetype.patch \ | 22 | file://0001-configure-use-pkg-config-for-freetype.patch \ |
| 23 | file://CVE-2015-0848-CVE-2015-4588.patch \ | 23 | file://CVE-2015-0848-CVE-2015-4588.patch \ |
| 24 | file://CVE-2015-4695.patch \ | 24 | file://CVE-2015-4695.patch \ |
| 25 | file://CVE-2015-4696.patch \ | ||
| 25 | " | 26 | " |
| 26 | 27 | ||
| 27 | SRC_URI[tarball.md5sum] = "d1177739bf1ceb07f57421f0cee191e0" | 28 | SRC_URI[tarball.md5sum] = "d1177739bf1ceb07f57421f0cee191e0" |
