From fbb740111857af8368fb2134f0b2daf733344fbe Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 19 Oct 2017 10:05:59 +0200 Subject: [PATCH] make sure that patch applies Signed-off-by: Igor Gnatenko --- SDL2-2.0.6-CVE-2017-2888-2.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SDL2-2.0.6-CVE-2017-2888-2.patch b/SDL2-2.0.6-CVE-2017-2888-2.patch index 24208b8..a9d0f64 100644 --- a/SDL2-2.0.6-CVE-2017-2888-2.patch +++ b/SDL2-2.0.6-CVE-2017-2888-2.patch @@ -16,9 +16,9 @@ I've verified that this is also the case on Debian unstable (gcc 7.2). diff -r 97bc026b46de -r 81a4950907a0 src/video/SDL_surface.c --- a/src/video/SDL_surface.c Mon Oct 16 14:39:56 2017 -0700 +++ b/src/video/SDL_surface.c Mon Oct 16 14:57:42 2017 -0700 -@@ -37,6 +37,10 @@ - const void *src, int src_pitch, - Uint32 dst_format, void *dst); +@@ -26,6 +26,10 @@ + #include "SDL_RLEaccel_c.h" + #include "SDL_pixels_c.h" +/* Check to make sure we can safely check multiplication of surface w and pitch and it won't overflow size_t */ +SDL_COMPILE_TIME_ASSERT(surface_size_assumptions,