diff options
author | npm <npm@chromium.org> | 2017-01-09 07:52:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-09 07:52:30 -0800 |
commit | 661008dde7356ee2ed69787125863539b73b041c (patch) | |
tree | dcf7541b8fa233078919bd81c3e257f91c25351a /core/fpdfapi/parser/cpdf_reference.h | |
parent | 5f92eab76505fc6be2e5373390591a55be489b21 (diff) | |
download | pdfium-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.h | 2 |
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: |