diff options
-rw-r--r-- | core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp b/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp index f371e673ed..c705a657aa 100644 --- a/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp +++ b/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp @@ -748,6 +748,9 @@ FX_BOOL CPDF_DataAvail::CheckHintTables(IPDF_DataAvail::DownloadHints* pHints) { } CPDF_Array* pHintStreamRange = pDict->GetArrayBy("H"); + if (!pHintStreamRange) + return FALSE; + FX_FILESIZE szHSStart = pHintStreamRange->GetDirectObjectAt(0) ? pHintStreamRange->GetDirectObjectAt(0)->GetInteger() |