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

Issue 1821423002: Re-enable MSVC warning 4702 (Closed)

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

Description

Patch Set 1 : #

Total comments: 3

Patch Set 2 : address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -19 lines) Patch
M core/fpdfapi/fpdf_font/fpdf_font_cid.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M core/fxcodec/jbig2/JBig2_GsidProc.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M core/fxcrt/fx_basic_memmgr.cpp View 1 chunk +2 lines, -0 lines 2 comments Download
M core/fxge/dib/fx_dib_convert.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_page.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/JS_EventHandler.cpp View 2 chunks +0 lines, -4 lines 0 comments Download
M pdfium.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/base/logging.h View 1 1 chunk +11 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Wei Li
Original code in JBig2_GsidProc.cpp should be a bug. PTAL.
4 years, 9 months ago (2016-03-22 22:36:10 UTC) #5
Tom Sepez
lgtm https://codereview.chromium.org/1821423002/diff/60001/core/fxcodec/jbig2/JBig2_GsidProc.cpp File core/fxcodec/jbig2/JBig2_GsidProc.cpp (right): https://codereview.chromium.org/1821423002/diff/60001/core/fxcodec/jbig2/JBig2_GsidProc.cpp#newcode101 core/fxcodec/jbig2/JBig2_GsidProc.cpp:101: return nullptr; nice. https://codereview.chromium.org/1821423002/diff/60001/third_party/base/logging.h File third_party/base/logging.h (right): https://codereview.chromium.org/1821423002/diff/60001/third_party/base/logging.h#newcode12 ...
4 years, 9 months ago (2016-03-22 23:17:35 UTC) #6
Tom Sepez
On 2016/03/22 23:17:35, Tom Sepez wrote: > lgtm > > https://codereview.chromium.org/1821423002/diff/60001/core/fxcodec/jbig2/JBig2_GsidProc.cpp > File core/fxcodec/jbig2/JBig2_GsidProc.cpp (right): ...
4 years, 9 months ago (2016-03-22 23:29:49 UTC) #7
Wei Li
thanks https://codereview.chromium.org/1821423002/diff/60001/third_party/base/logging.h File third_party/base/logging.h (right): https://codereview.chromium.org/1821423002/diff/60001/third_party/base/logging.h#newcode12 third_party/base/logging.h:12: #define CHECK(condition) \ On 2016/03/22 23:17:34, Tom Sepez ...
4 years, 9 months ago (2016-03-23 00:35:56 UTC) #9
Wei Li
Committed patchset #2 (id:100001) manually as e91afbabec3b7c891b464efd221748edaba3c2bc (presubmit successful).
4 years, 9 months ago (2016-03-23 02:19:13 UTC) #11
Tom Sepez
https://codereview.chromium.org/1821423002/diff/100001/core/fxcrt/fx_basic_memmgr.cpp File core/fxcrt/fx_basic_memmgr.cpp (right): https://codereview.chromium.org/1821423002/diff/100001/core/fxcrt/fx_basic_memmgr.cpp#newcode25 core/fxcrt/fx_basic_memmgr.cpp:25: reinterpret_cast<void (*)()>(0xbd)(); This could be NULL_DEREF_IF_POSSIBLE, too.
4 years, 9 months ago (2016-03-23 16:49:50 UTC) #12
Wei Li
4 years, 9 months ago (2016-03-23 18:15:12 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/1821423002/diff/100001/core/fxcrt/fx_basic_me...
File core/fxcrt/fx_basic_memmgr.cpp (right):

https://codereview.chromium.org/1821423002/diff/100001/core/fxcrt/fx_basic_me...
core/fxcrt/fx_basic_memmgr.cpp:25: reinterpret_cast<void (*)()>(0xbd)();
On 2016/03/23 16:49:50, Tom Sepez wrote:
> This could be NULL_DEREF_IF_POSSIBLE, too.

I thought this was intentional to be set as a different address to be easily
identifiable. Not sure how important it is though.

Powered by Google App Engine
This is Rietveld 408576698