commit | c3fe3dc27d10a53a54bb5231b6fce07318af952f | [log] [tgz] |
---|---|---|
author | Takashi Toyoshima <toyoshim@chromium.org> | Tue Feb 12 11:25:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 12 11:25:56 2019 |
tree | 89629243221c7342601738836012859055e3681b | |
parent | 7faa51dee80f2543c3221bec6fc0049763c867d1 [diff] |
Web MIDI: Make TaskService and MidiManagerWin integer-overflow-proof TaskService and MidiManagerWin uses int to identify the instance, but this change makes it int64_t and improve them to fail gracefully without shutting-down the browser due to CHECK failures. For practical use, the original int is enough and it's impossible to overflow the instance ID unless attackers success to run their code for several months on an occupied active processor. Bug: 921581 Change-Id: I62c7cd737ab3d3969e372bb394e60381473eaa58 Reviewed-on: https://chromium-review.googlesource.com/c/1449483 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#631175}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .