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

Issue 731673003: Fixing operator so that bCheckRight isn't always true. Unknown effect! (Closed)

Created:
6 years, 1 month ago by brucedawson
Modified:
6 years, 1 month ago
Reviewers:
Bo Xu, jun_fang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Visibility:
Public.

Description

Fixing operator so that bCheckRight isn't always true. Unknown effect! VC++'s /analyze points out that this expression: FX_BOOL bCheckRight = type != 'D' || type != 'W';" is always true. This means that the tests for the right edge of a word Original patch from Bruce Dawson(brucedawson@chromium.org) BUG=427616 R=jun_fang@foxitsoftware.com Committed: https://pdfium.googlesource.com/pdfium/+/0d8b679fb2dbb3f4df9437f2a2b618e1eab1aa1b

Patch Set 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 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
brucedawson
This is another bug found by /analyze. I'm not sure if this is the correct ...
6 years, 1 month ago (2014-11-15 00:32:28 UTC) #2
jun_fang
On 2014/11/15 00:32:28, brucedawson wrote: > This is another bug found by /analyze. I'm not ...
6 years, 1 month ago (2014-11-18 19:57:31 UTC) #3
brucedawson
6 years, 1 month ago (2014-11-18 21:50:32 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0d8b679fb2dbb3f4df9437f2a2b618e1eab1aa1b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698