Settings: Prevent out-of-bounds access in ImportDataHandler.
The UI passes an index specifying which profile should be imported. Previously there were no checks to ensure that the index is within the bounds of the profiles array. Fixed: 1164816 Change-Id: I01dd1a6d857b5af408d0b04cff429774c02368b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2619769 Auto-Submit: dpapad <dpapad@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#842222}
Showing
Please register or sign in to comment