[poppler] Don't crash on malformed documents

Kristian Høgsberg krh at bitplanet.net
Wed Apr 27 11:51:35 PDT 2005


Albert Astals Cid wrote:
> http://research.sun.com/techrep/2005/smli_tr-2005-143.pdf has a link that 
> points nowhere (page 4, the link with the [3]) and the namedtree for finding 
> links is crashing on it, this patchs fixes the crash.

Oops, yeah, we need to check the return value from bsearch properly.
Thanks, slightly edited patch applied.
Kristian


More information about the poppler mailing list