/[chrome]
Chromium logo

Revision 260969


Jump to revision: Previous Next
Author: danakj@chromium.org
Date: Tue Apr 1 22:59:15 2014 UTC (9 years, 1 month ago)
Changed paths: 4
Log Message:
cc: Prevent integer overflow with software TextureMailbox.

Perform a CHECK() when creating a software TextureMailbox since these
come from outside of cc's control.

Do unsigned integer multiplication to produce an unsigned result,
preventing overflow when possible.

R=piman@chromium.org
BUG=348332

Review URL: https://codereview.chromium.org/220093002

Changed paths

Path Details
Directorytrunk/src/cc/layers/texture_layer_impl.cc modified , text changed
Directorytrunk/src/cc/resources/texture_mailbox.cc modified , text changed
Directorytrunk/src/cc/resources/texture_mailbox.h modified , text changed
Directorytrunk/src/content/browser/renderer_host/render_widget_host_view_aura.cc modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help