summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-19 16:09:57 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-19 16:09:57 -0800
commit04a407093c135cdf08644a03c210ae2182869254 (patch)
tree17b963663669843d5142de76feb164e195964e35 /core
parent0fdeeb8175560ce6bbd8bbc14120cc75ea3a2d67 (diff)
downloadpdfium-chromium/2959.tar.xz
TBR=dsinclair@chromium.org BUG=675752 Review-Url: https://codereview.chromium.org/2585113004
Diffstat (limited to 'core')
-rw-r--r--core/fpdfapi/page/cpdf_streamparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_streamparser.cpp b/core/fpdfapi/page/cpdf_streamparser.cpp
index cf87ce9954..e26de605b0 100644
--- a/core/fpdfapi/page/cpdf_streamparser.cpp
+++ b/core/fpdfapi/page/cpdf_streamparser.cpp
@@ -188,7 +188,7 @@ std::unique_ptr<CPDF_Stream> CPDF_StreamParser::ReadInlineStream(
dwStreamSize = OrigSize;
m_Pos += OrigSize;
} else {
- uint8_t* pIgnore;
+ uint8_t* pIgnore = nullptr;
uint32_t dwDestSize = OrigSize;
dwStreamSize =
PDF_DecodeInlineStream(m_pBuf + m_Pos, m_Size - m_Pos, width, height,