diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
commit | 6957f5c65b02bba533954eabc0b62f5de36be206 (patch) | |
tree | 21d8ab8f61dffd9cccc82d0badb68982516a6855 /app-text/poppler/files/poppler-0.57.0-CVE-2017-14520.patch | |
parent | e91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff) |
gentoo resync : 10.04.2018
Diffstat (limited to 'app-text/poppler/files/poppler-0.57.0-CVE-2017-14520.patch')
-rw-r--r-- | app-text/poppler/files/poppler-0.57.0-CVE-2017-14520.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app-text/poppler/files/poppler-0.57.0-CVE-2017-14520.patch b/app-text/poppler/files/poppler-0.57.0-CVE-2017-14520.patch deleted file mode 100644 index f71ff53f61ac..000000000000 --- a/app-text/poppler/files/poppler-0.57.0-CVE-2017-14520.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 504b3590182175390f474657a372e78fb1508262 Mon Sep 17 00:00:00 2001 -From: Albert Astals Cid <aacid@kde.org> -Date: Thu, 14 Sep 2017 19:14:23 +0200 -Subject: Splash::scaleImage: Do not try to scale if srcHeight or srcWidth are - < 1 - -Bug #102719 - -diff --git a/splash/Splash.cc b/splash/Splash.cc -index 39fc7d6..aba7814 100644 ---- a/splash/Splash.cc -+++ b/splash/Splash.cc -@@ -4152,7 +4152,7 @@ SplashBitmap *Splash::scaleImage(SplashImageSource src, void *srcData, - SplashBitmap *dest; - - dest = new SplashBitmap(scaledWidth, scaledHeight, 1, srcMode, srcAlpha, gTrue, bitmap->getSeparationList()); -- if (dest->getDataPtr() != NULL) { -+ if (dest->getDataPtr() != NULL && srcHeight > 0 && srcWidth > 0) { - if (scaledHeight < srcHeight) { - if (scaledWidth < srcWidth) { - scaleImageYdXd(src, srcData, srcMode, nComps, srcAlpha, --- -cgit v0.10.2 - |