Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Python3:aarch64
SUSE:SLE-12:Update
poppler-qt.30207
CVE-2017-14520.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2017-14520.patch of Package poppler-qt.30207
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: [PATCH] Splash::scaleImage: Do not try to scale if srcHeight or srcWidth are < 1 Bug #102719 --- splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splash/Splash.cc b/splash/Splash.cc index 39fc7d64..aba7814f 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, -- 2.14.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor