In function PdfListField::GetItemDisplayText:
if( nIndex < 0 || nIndex > static_cast<int>(opt.size()) )
> {
> PODOFO_RAISE_ERROR( ePdfError_ValueOutOfRange );
> }
> PdfVariant var = opt[nIndex];
There should be >= comparision. This function with nIndex same as opt.size()
could cause abort or in worst case unnoticed buffer overflow because vector
operator[] does not perform bounds checking.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users