commit | 5576cbc1d3e214dfbb5d3ffcdbe82aa8ba0088fc | [log] [tgz] |
---|---|---|
author | yhirano <yhirano@chromium.org> | Mon Feb 09 15:13:28 2015 |
committer | Commit bot <commit-bot@chromium.org> | Mon Feb 09 15:14:37 2015 |
tree | c808880bb590ae814d58874ecbd88a8917dc87f5 | |
parent | 3a105408f7c18205f3a1fbe24840004118e5abf5 [diff] |
MidiManagerUsb should not trust indices provided by renderer. MidiManagerUsb::DispatchSendMidiData takes |port_index| parameter. As it is provided by a renderer possibly under the control of an attacker, we must validate the given index before using it. BUG=456516 Review URL: https://codereview.chromium.org/907793002 Cr-Commit-Position: refs/heads/master@{#315303}