diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-19 16:54:12 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-19 16:54:12 +0000 |
commit | 09f2855f196d4269477641413082f7d83eeb7d75 (patch) | |
tree | c8c69c08f0e01d3094edbf98b5a68189a3a09150 /core/fpdfapi/page/cpdf_stitchfunc.h | |
parent | 93358c23262e27ead528ac60607329ba0ea0a49a (diff) | |
download | pdfium-09f2855f196d4269477641413082f7d83eeb7d75.tar.xz |
Do more validation in CPDF_StitchFunc::v_Init().
Change-Id: I8eeaf62947960d8774cb129be145fae157feb70e
Reviewed-on: https://pdfium-review.googlesource.com/30970
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_stitchfunc.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_stitchfunc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/fpdfapi/page/cpdf_stitchfunc.h b/core/fpdfapi/page/cpdf_stitchfunc.h index 1d11cb072b..360b789072 100644 --- a/core/fpdfapi/page/cpdf_stitchfunc.h +++ b/core/fpdfapi/page/cpdf_stitchfunc.h @@ -29,10 +29,8 @@ class CPDF_StitchFunc : public CPDF_Function { private: std::vector<std::unique_ptr<CPDF_Function>> m_pSubFunctions; - float* m_pBounds; - float* m_pEncode; - - static const uint32_t kRequiredNumInputs = 1; + float* m_pBounds = nullptr; + float* m_pEncode = nullptr; }; #endif // CORE_FPDFAPI_PAGE_CPDF_STITCHFUNC_H_ |