GetDirectInteger is called in function CPDF_DataAvail::CheckTrailer:
FX_DWORD xrefpos = GetDirectInteger(pTrailer->GetDict(), FX_BSTRC("Prev"));
pTrailer->GetDict() may return NULL.
While Function GetDirectInteger directly use this pointer:
static FX_INT32 GetDirectInteger(CPDF_Dictionary* pDict, FX_BSTR key)
{
CPDF_Object* pObj = pDict->GetElement(key);
if (pObj == NULL) {
return 0;
}
......
Original issue reported on code.google.com by look.wan...@gmail.com on 16 Dec 2014 at 6:48
Original issue reported on code.google.com by
look.wan...@gmail.com
on 16 Dec 2014 at 6:48