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

Issue 400083002: Fix garbled text when loading linearized pdf document (Closed)

Created:
6 years, 5 months ago by Bo Xu
Modified:
6 years, 5 months ago
Reviewers:
Lei Zhang, gene
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Visibility:
Public.

Description

Fix garbled text when loading linearized pdf document BUG=260112, 249006, 275281, 354966, 365302, 236952 R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/a9c29e0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change DWord to Filesize #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 6 (0 generated)
Bo Xu
Please review and verify the fix. Thanks.
6 years, 5 months ago (2014-07-17 23:00:51 UTC) #1
Lei Zhang
Nice. This bug has been widely reported and I'm glad to see a fix. I'll ...
6 years, 5 months ago (2014-07-17 23:05:19 UTC) #2
Bo Xu
https://codereview.chromium.org/400083002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (right): https://codereview.chromium.org/400083002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#newcode1653 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:1653: FXSYS_qsort(m_SortedOffset.GetData(), m_SortedOffset.GetSize(), sizeof(FX_FILESIZE), _CompareDWord); On 2014/07/17 23:05:19, Lei Zhang ...
6 years, 5 months ago (2014-07-17 23:13:17 UTC) #3
Lei Zhang
lgtm with comment below. If you are confident in the fix, then don't wait for ...
6 years, 5 months ago (2014-07-17 23:16:15 UTC) #4
Lei Zhang
Seems to fix the problem for me.
6 years, 5 months ago (2014-07-18 00:34:58 UTC) #5
Bo Xu
6 years, 5 months ago (2014-07-18 02:15:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as ra9c29e0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698