Index: core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp b/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp |
index d3f9a54f4c2944f8b9a797c29f5cf8d8b599cde1..9018f0639901585316eb3589be235f7a83af8470 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp |
@@ -748,8 +748,10 @@ FX_BOOL CPDF_DataAvail::CheckHintTables(IPDF_DataAvail::DownloadHints* pHints) { |
} |
CPDF_Array* pHintStreamRange = pDict->GetArrayBy("H"); |
- if (!pHintStreamRange) |
+ if (!pHintStreamRange) { |
+ m_docStatus = PDF_DATAAVAIL_ERROR; |
return FALSE; |
+ } |
FX_FILESIZE szHSStart = |
pHintStreamRange->GetDirectObjectAt(0) |