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

Issue 2298833002: Fix code order in CBC_QRCoderEncoder::InterleaveWithECBytes (Closed)

Created:
4 years, 3 months ago by npm
Modified:
4 years, 3 months ago
Reviewers:
dsinclair, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Move maxNumDataBytes and maxNumEcBytes calculation to fix crash The blocks.Add will std::move the unique_ptrs, so the std::max calculations need to go before. Without this change, pdfium_test will crash when trying to render test/barcode_test.pdf with XFA enabled. Tested that after this change, barcode_test.pdf is rendered without crashing. Committed: https://pdfium.googlesource.com/pdfium/+/fc9b11358a47e1dd9b257263c9457d7e53b9dd10

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
npm
PTAL
4 years, 3 months ago (2016-08-31 17:14:37 UTC) #3
dsinclair
lgtm
4 years, 3 months ago (2016-08-31 17:42:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2298833002/1
4 years, 3 months ago (2016-08-31 17:42:07 UTC) #6
Wei Li
lgtm
4 years, 3 months ago (2016-08-31 17:49:29 UTC) #7
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 17:51:23 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/fc9b11358a47e1dd9b257263c9457d7e53b9...

Powered by Google App Engine
This is Rietveld 408576698