-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
13778: Avoid crash while getting an accessibility string. #7708
Conversation
Below method calls same one. Then, crash can occur with this?
|
@simonhong AFAIK, objective C allows to call methods of Apparently there are many dangerous spots (since the whole file has been a WIP for a long time), but I'm not sure whether we should patch anything else until it bothers us |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make sure we have a follow-up issue to investigate this and there are also some crashes for substring out of range
Follow-up brave/brave-browser#13802 |
For some reason, MacOS call the patched method for tabs, and tabs cannot provide an accessibility string. Fix brave/brave-browser#13778
796ae19
to
2558ab3
Compare
CI failures unrelated |
Does this fix these issues which happen for all signed official builds and crash PWA windows with the following error?
|
unfortunately, it doesn't |
Attempted to verify using
Reproduced the issue multiple times using steps and version listed in brave/brave-browser#13778 (comment) ( Executed those same steps using Per discussion with @kjozwiak and @iefremov - logged follow up issue brave/brave-browser#13837 and current fix can be uplifted since it seems to have decreased the frequency of the crash. |
For some reason, MacOS call the patched method for tabs,
and tabs cannot provide an accessibility string.
Fix brave/brave-browser#13778
Resolves
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed).Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on.
Test Plan: