More infinite loop prevention in AXPosition::AsValidDOMPosition
This is a speculative fix, as I haven't been able to reproduce this overflow. There also is not a unit test, because I haven't been able to reproduce this overflow by tweaking the unit test from https://chromium-review.googlesource.com/c/chromium/src/+/2426490 However, this is still causing crashes, even after the CL 2426490 has gone in. And all of the overflows that I've seen after that CL loop forever in the kMoveRight scenario, so I am confident that this change will provide the complete mitigation. Bug: 1124394 Change-Id: Ife9293f2fa26a34c17d1aace03b38b3592f387d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464003Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com> Cr-Commit-Position: refs/heads/master@{#816199}
Showing
Please register or sign in to comment