gecko-dev/dom/gamepad/windows
Kyle Machulis edc9099ead Bug 1404112 - Add bounds checks to gamepad dpad unpacking; r=ted
We weren't checking the length of our buttons array before referencing
dpad offsets, meaning if the HID descriptor reports something
different than we have, we can overflow.

MozReview-Commit-ID: 5RKxwDmmq0Z

--HG--
extra : rebase_source : afbe0aff9c89b8ded57462384f0bf4158facdbd9
2018-04-09 16:28:15 -07:00
..
WindowsGamepad.cpp Bug 1404112 - Add bounds checks to gamepad dpad unpacking; r=ted 2018-04-09 16:28:15 -07:00