diff --git a/SDL-bnc1062784-check-overflow-xcf-props.patch b/SDL-bnc1062784-check-overflow-xcf-props.patch index c220ece..fe84615 100644 --- a/SDL-bnc1062784-check-overflow-xcf-props.patch +++ b/SDL-bnc1062784-check-overflow-xcf-props.patch @@ -1,3 +1,5 @@ +# From: sreeves@suse.com +# CVE-2017-2888. Check for overflow when computing size. # Based on upstream patch: 81a4950907a01359f2f9390875291eb3951e6c6b Index: SDL2-2.0.6/include/SDL_stdinc.h diff --git a/SDL2.spec b/SDL2.spec index 45b1180..a8e285d 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -32,7 +32,6 @@ Source3: %name.keyring Source4: baselibs.conf Patch1: dbus.diff Patch2: %name-ppc64-declaration-after-statement.patch -# PATCH-FIX-UPSTREAM SDL-bnc1062784-check-overflow-xcf-props.patch sreeves@suse.com - CVE-2017-2888. Check for overflow when computing size. Patch3: SDL-bnc1062784-check-overflow-xcf-props.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake @@ -107,11 +106,10 @@ library. %prep %setup -q -%patch -P 1 -p1 +%patch -P 1 -P 3 -p1 %ifarch ppc64 ppc64le %patch -P 2 -p1 %endif -%patch -P 3 -p1 dos2unix WhatsNew.txt dos2unix TODO.txt dos2unix BUGS.txt