From 04a407093c135cdf08644a03c210ae2182869254 Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 19 Dec 2016 16:09:57 -0800 Subject: Missing null initializer in CPDF_StreamParser::ReadInlineStream TBR=dsinclair@chromium.org BUG=675752 Review-Url: https://codereview.chromium.org/2585113004 --- core/fpdfapi/page/cpdf_streamparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_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, -- cgit v1.2.3