[omnibox] Avoid access past end of classification
Although unlikely, it's possible that AutocompleteMatch:: InlineTailPrefix() could access past the end of its classification. Check for this and avoid it. Also adds unit test. Bug: 1013103 Change-Id: Iccb23643c06ca952567a99bfa7cbe7cdeb335d3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869117Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: Kevin Bailey <krb@chromium.org> Cr-Commit-Position: refs/heads/master@{#707554}
Showing
Please register or sign in to comment