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

Issue 1585823003: Correct the way to count pages and to avoid infinite loop (Closed)

Created:
4 years, 11 months ago by Wei Li
Modified:
4 years, 11 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Correct the way to count pages and to avoid infinite loop BUG=pdfium:360 R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/5d5d9fe7bd1c9566b9d6570015b7c60894d9fc0c

Patch Set 1 #

Patch Set 2 : remove a function #

Total comments: 6

Patch Set 3 : address comments and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -46 lines) Patch
M core/include/fpdfapi/fpdf_parser.h View 1 2 2 chunks +17 lines, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp View 1 2 5 chunks +44 lines, -31 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
M fpdfsdk/src/fpdfview_embeddertest.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
A testing/resources/bug_360.pdf View 1 2 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Wei Li
PTAL, thanks
4 years, 11 months ago (2016-01-14 01:16:25 UTC) #2
Lei Zhang
https://codereview.chromium.org/1585823003/diff/20001/core/include/fpdfapi/fpdf_parser.h File core/include/fpdfapi/fpdf_parser.h (right): https://codereview.chromium.org/1585823003/diff/20001/core/include/fpdfapi/fpdf_parser.h#newcode185 core/include/fpdfapi/fpdf_parser.h:185: // Retrieve page count information by getting |count| from ...
4 years, 11 months ago (2016-01-14 19:22:40 UTC) #3
Wei Li
https://codereview.chromium.org/1585823003/diff/20001/core/include/fpdfapi/fpdf_parser.h File core/include/fpdfapi/fpdf_parser.h (right): https://codereview.chromium.org/1585823003/diff/20001/core/include/fpdfapi/fpdf_parser.h#newcode185 core/include/fpdfapi/fpdf_parser.h:185: // Retrieve page count information by getting |count| from ...
4 years, 11 months ago (2016-01-14 19:46:00 UTC) #5
Lei Zhang
lgtm
4 years, 11 months ago (2016-01-14 19:59:53 UTC) #6
Wei Li
4 years, 11 months ago (2016-01-14 20:10:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
5d5d9fe7bd1c9566b9d6570015b7c60894d9fc0c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698