DescriptionMake CPDF_Array not do indirect object creation.
We remove the indirect object holder argument and check that
call sites pass ownable objects, adding a reference in one
place that always was passing an indirect object.
Also check that the invariant isn't violated, we need to fail
here in the wild and investigate -- these are existing UAFs.
Committed: https://pdfium.googlesource.com/pdfium/+/5a399de2945d7b244802565d8e9d2f6e662561da
Patch Set 1 #Patch Set 2 : Use CHECK rather than assert #
Total comments: 6
Patch Set 3 : Missed two references #
Messages
Total messages: 11 (5 generated)
|