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

Issue 2804033005: Suppress incorrect warning (Closed)

Created:
3 years, 8 months ago by brucedawson
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Suppress incorrect warning When doing VS 2017 official builds of some targets, including mksnapshot.exe, a warning about a buffer overrun is shown. After analysis and discussion with Microsoft it was decided that this warning is spurious. The warning is: warning C4789: buffer 'key' of size 16 bytes will be overrun; 4 bytes will be written starting at offset 16 Despite the certain language "4 bytes *will* be written..." it is in fact a heuristic based warning. Suppressing it at this point in the inlining stack appears to avoid the issues. R=hablich@chromium.org BUG=v8:6068 Review-Url: https://codereview.chromium.org/2804033005 Cr-Commit-Position: refs/heads/master@{#44625} Committed: https://chromium.googlesource.com/v8/v8/+/9c1dcfd9114e7f3ee9ebfe3785532c8443c29f01

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M src/objects-inl.h View 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
brucedawson
This 2017 warning is wrong. This suppression makes it go away, at least when doing ...
3 years, 8 months ago (2017-04-07 20:49:19 UTC) #3
Michael Hablich
On 2017/04/07 20:49:19, brucedawson wrote: > This 2017 warning is wrong. This suppression makes it ...
3 years, 8 months ago (2017-04-12 08:01:06 UTC) #8
Michael Achenbach
lgtm
3 years, 8 months ago (2017-04-12 08:58:59 UTC) #9
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/2804033005/1
3 years, 8 months ago (2017-04-12 18:38:23 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 19:07:34 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/9c1dcfd9114e7f3ee9ebfe3785532c8443c...

Powered by Google App Engine
This is Rietveld 408576698