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

Issue 1248923002: Fix invalid static_cast in GpuTileTaskWorkerPool (Closed)

Created:
5 years, 5 months ago by krasin
Modified:
5 years, 5 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CFI: fix invalid type cast from base class (Task) to a subclass (RenderTask), where the actual type is a subclass of TileTask. This bug has been found with the help of CFI (Control Flow Integrity) checker, see https://sites.google.com/a/chromium.org/dev/developers/testing/control-flow-integrity BUG=chromium:457523, chromium:513021 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/2f619dc3d4ae84497d440e999296483ef87fa6fd Cr-Commit-Position: refs/heads/master@{#340010}

Patch Set 1 #

Total comments: 2

Patch Set 2 : raster_task -> tile_task #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M cc/raster/gpu_tile_task_worker_pool.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
vmpstr
Can you make the title be 72-col? Maybe put more in the description and just ...
5 years, 5 months ago (2015-07-22 22:43:48 UTC) #2
krasin
Done
5 years, 5 months ago (2015-07-22 22:45:06 UTC) #3
krasin
Please, take another look. https://codereview.chromium.org/1248923002/diff/1/cc/raster/gpu_tile_task_worker_pool.cc File cc/raster/gpu_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1248923002/diff/1/cc/raster/gpu_tile_task_worker_pool.cc#newcode219 cc/raster/gpu_tile_task_worker_pool.cc:219: TileTask* raster_task = static_cast<TileTask*>(task.get()); On ...
5 years, 5 months ago (2015-07-22 22:50:03 UTC) #4
vmpstr
lgtm, thanks.
5 years, 5 months ago (2015-07-22 23:03:02 UTC) #5
krasin
Thank you for the fast review!
5 years, 5 months ago (2015-07-22 23:03:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248923002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248923002/20001
5 years, 5 months ago (2015-07-22 23:06:04 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-23 00:34:23 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 00:35:13 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2f619dc3d4ae84497d440e999296483ef87fa6fd
Cr-Commit-Position: refs/heads/master@{#340010}

Powered by Google App Engine
This is Rietveld 408576698