Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dsbhayangkara
libqt4-sql-plugins
CVE-2018-19869.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-19869.patch of Package libqt4-sql-plugins
Index: qt-everywhere-opensource-src-4.8.7/src/svg/qsvghandler.cpp =================================================================== --- qt-everywhere-opensource-src-4.8.7.orig/src/svg/qsvghandler.cpp +++ qt-everywhere-opensource-src-4.8.7/src/svg/qsvghandler.cpp @@ -746,16 +746,17 @@ static QVector<qreal> parsePercentageLis static QString idFromUrl(const QString &url) { QString::const_iterator itr = url.constBegin(); - while ((*itr).isSpace()) + QString::const_iterator end = url.constEnd(); + while (itr != end && (*itr).isSpace()) ++itr; - if ((*itr) == QLatin1Char('(')) + if (itr != end && (*itr) == QLatin1Char('(')) ++itr; - while ((*itr).isSpace()) + while (itr != end && (*itr).isSpace()) ++itr; - if ((*itr) == QLatin1Char('#')) + if (itr != end && (*itr) == QLatin1Char('#')) ++itr; QString id; - while ((*itr) != QLatin1Char(')')) { + while (itr != end && (*itr) != QLatin1Char(')')) { id += *itr; ++itr; }
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