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

Issue 2040503002: Fix more bugs found by /analyze tool (Closed)

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

Description

Fix more bugs found by /analyze tool Three more bugs are discovered: -- potientially used freed pointer; -- potientially used uninitialized variable; -- Used '&&' instead of bitwise operator '&' BUG=chromium:613623, chromium:427616 Committed: https://pdfium.googlesource.com/pdfium/+/8d4e0d47f4cd0325be84ebf310fd8de989761939

Patch Set 1 #

Patch Set 2 : style fix #

Total comments: 9

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -31 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp View 1 2 1 chunk +13 lines, -28 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetmgr.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_ffchoicelist.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
Wei Li
pls review, thanks
4 years, 6 months ago (2016-06-03 18:40:14 UTC) #3
Tom Sepez
https://codereview.chromium.org/2040503002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp File core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp (left): https://codereview.chromium.org/2040503002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp#oldcode63 core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp:63: FX_Free(pDecryptedData); Why is OK to remove this? We might ...
4 years, 6 months ago (2016-06-03 18:54:37 UTC) #4
Wei Li
ptal, thanks https://codereview.chromium.org/2040503002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp File core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp (left): https://codereview.chromium.org/2040503002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp#oldcode63 core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp:63: FX_Free(pDecryptedData); On 2016/06/03 18:54:37, Tom Sepez wrote: ...
4 years, 6 months ago (2016-06-03 19:48:21 UTC) #6
Tom Sepez
lgtm
4 years, 6 months ago (2016-06-03 20:37:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040503002/60001
4 years, 6 months ago (2016-06-03 20:54:08 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 21:06:40 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/8d4e0d47f4cd0325be84ebf310fd8de98976...

Powered by Google App Engine
This is Rietveld 408576698