From 2544e261c14ef7db9e4426c6e73e928017b6f8c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 23 Jun 2015 13:50:28 +0100 Subject: [PATCH] Related: rhbz#1227244 fix deb#784192 --- libwmf-0.2.8.4-deb784192.patch | 20 ++++++++++++++++++++ libwmf.spec | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 libwmf-0.2.8.4-deb784192.patch diff --git a/libwmf-0.2.8.4-deb784192.patch b/libwmf-0.2.8.4-deb784192.patch new file mode 100644 index 0000000..17761cd --- /dev/null +++ b/libwmf-0.2.8.4-deb784192.patch @@ -0,0 +1,20 @@ +--- libwmf-0.2.8.4/src/player/meta.h ++++ libwmf-0.2.8.4/src/player/meta.h + ++ if (FR->region_clip) FR->region_clip (API,&polyrect); ++ + wmf_free (API,polyrect.TL); + wmf_free (API,polyrect.BR); + } +@@ -2593,9 +2595,10 @@ + polyrect.BR = 0; + + polyrect.count = 0; ++ ++ if (FR->region_clip) FR->region_clip (API,&polyrect); + } + +- if (FR->region_clip) FR->region_clip (API,&polyrect); + + return (changed); + } diff --git a/libwmf.spec b/libwmf.spec index c16bad1..7ef97a0 100644 --- a/libwmf.spec +++ b/libwmf.spec @@ -59,6 +59,8 @@ Patch16: libwmf-aarch64.patch Patch17: libwmf-0.2.8.4-CVE-2015-0848.patch # deb#784205 Patch18: libwmf-0.2.8.4-deb784205.patch +# deb#784192 +Patch19: libwmf-0.2.8.4-deb784192.patch Requires: urw-fonts Requires: %{name}-lite = %{version}-%{release} @@ -108,6 +110,7 @@ using libwmf. %patch16 -p1 -b .aarch64 %patch17 -p1 -b .CVE-2015-0848 %patch18 -p1 -b .deb784205 +%patch19 -p1 -b .deb784192 f=README ; iconv -f iso-8859-2 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f %build @@ -175,6 +178,7 @@ gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || : %changelog * Tue Jun 23 2015 Caolán McNamara - 0.2.8.4-45 - Related: rhbz#1227244 fix deb#784205 +- Related: rhbz#1227244 fix deb#784192 * Wed Jun 17 2015 Fedora Release Engineering - 0.2.8.4-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild