Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: access of out-of-scope reference in ShowOpenDialog and ShowSaveD…
…ialog (#17177) In the mac file dialog implementation of show*OpenDialog, a settings object is passed down to the dialog completion handler. However at the time the completion handler is invoked, the settings object is already out-of-scope, resulting in an invalid access to the security_scoped_bookmarks flag. The fix is to capture the value of the flag and passing that directly to the completion handler. fixes issue #16664
- Loading branch information
1 parent
00cfedb
commit 1aae1c1
Showing
1 changed file
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters