summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_reference.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2017-01-09 07:52:30 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-09 07:52:30 -0800
commit661008dde7356ee2ed69787125863539b73b041c (patch)
treedcf7541b8fa233078919bd81c3e257f91c25351a /core/fpdfapi/parser/cpdf_reference.h
parent5f92eab76505fc6be2e5373390591a55be489b21 (diff)
downloadpdfium-661008dde7356ee2ed69787125863539b73b041c.tar.xz
Do not parse references with invalid objnum
We should not have valid objects where the object number is CPDF_Object::kInvalidObjNum. BUG=pdfium:609 Review-Url: https://codereview.chromium.org/2610393004
Diffstat (limited to 'core/fpdfapi/parser/cpdf_reference.h')
-rw-r--r--core/fpdfapi/parser/cpdf_reference.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_reference.h b/core/fpdfapi/parser/cpdf_reference.h
index 5597142b95..be7f18478e 100644
--- a/core/fpdfapi/parser/cpdf_reference.h
+++ b/core/fpdfapi/parser/cpdf_reference.h
@@ -16,7 +16,7 @@ class CPDF_IndirectObjectHolder;
class CPDF_Reference : public CPDF_Object {
public:
- CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, int objnum);
+ CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, uint32_t objnum);
~CPDF_Reference() override;
// CPDF_Object: