Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP7:Update
tinyxml
tinyxml-2.62-fix-infinite-loop.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tinyxml-2.62-fix-infinite-loop.patch of Package tinyxml
diff --git a/tinyxmlparser.cpp b/tinyxmlparser.cpp index 81b7eae..8aa0dfa 100755 --- a/tinyxmlparser.cpp +++ b/tinyxmlparser.cpp @@ -274,6 +274,12 @@ void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) else { p +=3; ++col; } // A normal character. } + else + { + // TIXML_UTF_LEAD_0 (239) is the start character of a 3 byte sequence, so + // there is something wrong here. Just advance the pointer to evade infinite loops + ++p; + } } else {
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