Hi, There are places where is used GetIndirectKey but the intention was clearly to use MustGetIndirectKey because returned value is immediately dereferenced. Also it is better that in case of invalid pdf is rather thrown exception from MustGetIndirectKey than to crash due to accessing invalid memory.
Patch attached. Some occurrences are deliberately skipped to avoid merge conflicts with another upcoming patch.
getindirectkey_to_mustgetindirectkey.patch
Description: Binary data
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users