Re: [Podofo-users] Change GetObject to MustGetObject on appropriate places to avoid UB

2020-03-27 Thread zyx
On Tue, 2020-03-03 at 20:48 +0100, Michal Sudolsky wrote: > There are places where value returned from GetObject is not checked > against NULL but immediately dereferenced. GetObject can return NULL > in case of invalid PDF. Hi, thanks for the patch, I committed it as r2004: http://sourcef

[Podofo-users] Change GetObject to MustGetObject on appropriate places to avoid UB

2020-03-03 Thread Michal Sudolsky
Hi, There are places where value returned from GetObject is not checked against NULL but immediately dereferenced. GetObject can return NULL in case of invalid PDF. Patch attached. getobject_to_mustgetobject.patch Description: Binary data ___ Podofo-u