SECURITY UPDATE: crash in pdfinfo -dests on broken documents:
printDestinations() wrapped the destination name returned by
Catalog::getDestNameTreeName() / Catalog::getDestsName() into a new
GooString before testing it, so a document whose name tree is short or
whose /Dests entry is not a dictionary made both getters return NULL and
the GooString constructor dereference it, crashing pdfinfo.
debian/patches/CVE-2024-6239.patch: read the raw name pointer first and
only build the GooString once name, dest and dest->isPageRef() have all
been checked, in utils/pdfinfo.cc; matches upstream commit 0554731.