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

Issue 1315983010: WebGL: validations and fixes to avoid buffer/texture overflow (Closed)

Created:
5 years, 3 months ago by yunchao
Modified:
5 years, 3 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

WebGL: validations and fixes to avoid buffer/texture overflow BUG=528177 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201851

Patch Set 1 : #

Total comments: 11

Patch Set 2 : addressed zmo@'s feedback: overflow detection #

Patch Set 3 : code rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -12 lines) Patch
M Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 5 chunks +27 lines, -9 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 2 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
yunchao
The conformance test is submitted too: https://github.com/KhronosGroup/WebGL/pull/1175. PTAL. Thanks!
5 years, 3 months ago (2015-09-02 15:28:33 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp File Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode109 Source/modules/webgl/WebGL2RenderingContextBase.cpp:109: if (readOffset + size > readBuffer->getSize() || writeOffset + ...
5 years, 3 months ago (2015-09-02 17:59:03 UTC) #5
Zhenyao Mo
On 2015/09/02 17:59:03, Zhenyao Mo wrote: > https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): > > https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode109 ...
5 years, 3 months ago (2015-09-02 18:00:02 UTC) #6
Ken Russell (switch to Gerrit)
Please also reference a bug ID, in order to provide more background and a centralized ...
5 years, 3 months ago (2015-09-02 18:02:46 UTC) #7
yunchao
Thanks for your review, zmo@ and kbr@. I have created an issue, and updated the ...
5 years, 3 months ago (2015-09-04 08:22:07 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp File Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode109 Source/modules/webgl/WebGL2RenderingContextBase.cpp:109: if (readOffset + size > readBuffer->getSize() || writeOffset + ...
5 years, 3 months ago (2015-09-04 18:36:28 UTC) #9
Zhenyao Mo
On 2015/09/04 18:36:28, Zhenyao Mo wrote: > https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): > > https://codereview.chromium.org/1315983010/diff/40001/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode109 ...
5 years, 3 months ago (2015-09-04 18:41:21 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315983010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315983010/60001
5 years, 3 months ago (2015-09-06 01:58:20 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/66216) ios_rel_device_ninja on ...
5 years, 3 months ago (2015-09-06 01:59:24 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315983010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315983010/80001
5 years, 3 months ago (2015-09-06 05:42:32 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-06 07:00:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315983010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315983010/80001
5 years, 3 months ago (2015-09-06 11:12:46 UTC) #21
commit-bot: I haz the power
5 years, 3 months ago (2015-09-06 11:16:47 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201851

Powered by Google App Engine
This is Rietveld 408576698