Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
podofo.34526
r1909-Fix-for-CVE-2018-8001-heap-based-buffer-o...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1909-Fix-for-CVE-2018-8001-heap-based-buffer-over-read-in-UnescapeName.patch of Package podofo.34526
------------------------------------------------------------------------ r1909 | mc-zyx | 2018-03-11 14:17:09 +0100 (dom, 11 mar 2018) | 2 lines Fix for CVE-2018-8001 - heap-based buffer over-read in UnescapeName() Index: src/base/PdfName.cpp =================================================================== --- src/base/PdfName.cpp.orig +++ src/base/PdfName.cpp @@ -121,7 +121,7 @@ static std::string UnescapeName(T it, si unsigned int incount = 0, outcount = 0; while (incount++ < length) { - if (*it == '#') + if (*it == '#' && incount + 1 < length) { unsigned char hi = static_cast<unsigned char>(*(++it)); ++incount; unsigned char low = static_cast<unsigned char>(*(++it)); ++incount;
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