summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
index 18a7b8f079..4363d3924c 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
+++ b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
@@ -122,7 +122,7 @@ bool CPDF_HintTables::ReadPageHintTable(CFX_BitStream* hStream) {
// than enough to represent most of the values here.
constexpr uint32_t kMaxBits = 34;
if (dwSharedObjBits > kMaxBits || dwDeltaObjectsBits > kMaxBits ||
- dwSharedIdBits > kMaxBits) {
+ dwDeltaPageLenBits > kMaxBits || dwSharedIdBits > kMaxBits) {
return false;
}