Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
podofo
0022-Correct-boundary-comparison-in-PdfListFiel...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0022-Correct-boundary-comparison-in-PdfListField::GetItemDisplayText.patch of Package podofo
Subject: Fix by Michal Sudolsky: Correct boundary comparison in PdfListField::GetItemDisplayText() Url: https://sourceforge.net/p/podofo/code/1863/ --- a/podofo/trunk/src/doc/PdfField.cpp +++ b/podofo/trunk/src/doc/PdfField.cpp @@ -891,7 +891,7 @@ if( m_pObject->GetDictionary().HasKey( PdfName("Opt") ) ) opt = m_pObject->GetDictionary().GetKey( PdfName("Opt") )->GetArray(); - if( nIndex < 0 || nIndex > static_cast<int>(opt.size()) ) + if( nIndex < 0 || nIndex >= static_cast<int>(opt.size()) ) { PODOFO_RAISE_ERROR( ePdfError_ValueOutOfRange ); }
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