Chromium Code Reviews
DescriptionFix parsing of object numbers > 16,777,216.
Currently, there is a check that an object number is <= 0x1000000. If that
check fails, we end up putting the parser into a bad state and fail to load
documents. The object does not need to be in the XRef table, or referenced
from the document, just be in the document.
This Cl removes the size check and updates the various atoi calls to use a
uint32_t instead of an int32_t so we don't end up getting strange values when
converting from a string.
BUG=455199
R=tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/42fb301abcf6b9f6a580f3d30defeadedf5d7ebd
Patch Set 1 #
Total comments: 6
Patch Set 2 : Rebase to master #Patch Set 3 : #Patch Set 4 : #
Total comments: 8
Patch Set 5 : #Patch Set 6 : Rebase to master #
Messages
Total messages: 14 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||