Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Issue 869343008: Fix an error 'Use-of-uninitialized-value in CPDF_Function::Call' (Closed)

Created:
5 years, 10 months ago by jun_fang
Modified:
5 years, 9 months ago
Reviewers:
Tom Sepez, Lei Zhang
CC:
kai_jing
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix an error 'Use-of-uninitialized-value in CPDF_Function::Call' This issue was introduced in https://codereview.chromium.org/886953002/. BUG=454280 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/493f5c622d23b8011cb8cdbacbb7258afe7d4ba1

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp View 1 chunk +3 lines, -3 lines 2 comments Download

Messages

Total messages: 6 (1 generated)
jun_fang
Hi Tom and Lei, Please review this change. Thanks!
5 years, 10 months ago (2015-02-12 01:11:50 UTC) #2
Tom Sepez
https://codereview.chromium.org/869343008/diff/1/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp File core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp (right): https://codereview.chromium.org/869343008/diff/1/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp#newcode570 core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp:570: FX_SAFE_INT32 bitpos1 = m_nOutputs - 1 > 0 ? ...
5 years, 10 months ago (2015-02-12 18:06:47 UTC) #3
jun_fang
https://codereview.chromium.org/869343008/diff/1/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp File core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp (right): https://codereview.chromium.org/869343008/diff/1/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp#newcode570 core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp:570: FX_SAFE_INT32 bitpos1 = m_nOutputs - 1 > 0 ? ...
5 years, 10 months ago (2015-02-12 18:13:35 UTC) #4
Tom Sepez
that a mistake? > > This judge is used to ensure 'bitpos.ValueOrDie() + j * ...
5 years, 10 months ago (2015-02-12 20:37:26 UTC) #5
jun_fang
5 years, 10 months ago (2015-02-12 20:40:42 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
493f5c622d23b8011cb8cdbacbb7258afe7d4ba1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698