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

Issue 2598383002: Fix integer overflow. (Closed)

Created:
3 years, 12 months ago by eustas
Modified:
3 years, 10 months ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix integer overflow. BUG=676902 Review-Url: https://codereview.chromium.org/2598383002 Cr-Commit-Position: refs/heads/master@{#446639} Committed: https://chromium.googlesource.com/chromium/src/+/0f6dfbc4793fab2a08ea912039ca8ed6f958d81d

Patch Set 1 #

Patch Set 2 : Fix includes #

Total comments: 2

Patch Set 3 : Move check to Widget level #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
eustas
3 years, 12 months ago (2016-12-27 10:08:44 UTC) #2
sky
https://codereview.chromium.org/2598383002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (left): https://codereview.chromium.org/2598383002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#oldcode1095 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1095: unsigned long cardinality = static_cast<int>(opacity * 255) * 0x1010101; ...
3 years, 11 months ago (2017-01-03 17:54:27 UTC) #8
eustas
On 2017/01/03 17:54:27, sky (OOO) wrote: > https://codereview.chromium.org/2598383002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc > File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (left): > > https://codereview.chromium.org/2598383002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#oldcode1095 ...
3 years, 11 months ago (2017-01-03 19:42:13 UTC) #9
sky
Why does the unsigned matter here when the value is always >=0 0? On Tue, ...
3 years, 11 months ago (2017-01-03 23:14:24 UTC) #10
eustas
On 2017/01/03 23:14:24, sky wrote: > Why does the unsigned matter here when the value ...
3 years, 11 months ago (2017-01-04 06:55:50 UTC) #11
eustas
Ping
3 years, 11 months ago (2017-01-26 12:14:49 UTC) #16
Elliot Glaysher
lgtm
3 years, 11 months ago (2017-01-26 18:31:30 UTC) #17
sky
Thanks for the clarification. LGTM
3 years, 11 months ago (2017-01-26 18:36:21 UTC) #18
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/2598383002/60001
3 years, 10 months ago (2017-01-27 10:08:30 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 10:51:24 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0f6dfbc4793fab2a08ea912039ca...

Powered by Google App Engine
This is Rietveld 408576698