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
fix: corrupted title of alert dialog #32434
Conversation
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
Congrats on merging your first pull request! 🎉🎉🎉 |
Release Notes Persisted
|
I have automatically backported this PR to "14-x-y", please check out #32467 |
I have automatically backported this PR to "15-x-y", please check out #32468 |
I have automatically backported this PR to "17-x-y", please check out #32469 |
I have automatically backported this PR to "16-x-y", please check out #32470 |
Description of Change
Fixes #30223.
Fix the issue that the
alert()
dialog title is corrupted. The same issue happens withshowMessageBox
API if notitle
is explicitly given.The lifetime of
app_name
was inside theif
block. Thus,config.pszWindowTitle
referenced already freed memory.Checklist
npm test
passesRelease Notes
Notes: Fix an issue that the
alert()
dialog title is corrupted.