Fix crashes due to matching max codepoint by skipping invalid matches
We should check each ICU match to make sure they are valid (aren't empty or start/end in non-offset-in-anchor positions). Bug: 1028152 Change-Id: I1e99075a65e474cb7bf7fc14b08730f801df6541 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1939159 Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#720425}
Showing
This diff is collapsed.
Please register or sign in to comment