Projects
Multimedia
A_tw-libqt4
CVE-2018-19869.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-19869.patch of Package A_tw-libqt4
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
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.