Web Discovery IsHashLikely
crash
#44653
Labels
feature/web-discovery
OS/Android
Fixes related to Android browser functionality
QA Pass - Android ARM
QA Pass - Android Tab
QA/Test-All-Platforms
QA/Yes
release-notes/exclude
Milestone
Identified the following crash for Android Web Discovery users.
The crash happens here: https://github.com/brave/brave-core/blob/60597b34e7a77b61678754bdaac83b0594b05b74/components/web_discovery/browser/hash_detection.cc#L46
It seems to occur when the search query ends with a non-alphanumeric character. The loop before the mentioned line iterates though all characters, leading to illegal access.
The text was updated successfully, but these errors were encountered: