[Webkit-unassigned] [Bug 236941] New: [QuickLook] WKPasswordView crash when re-enter password.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 20 05:29:18 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236941
Bug ID: 236941
Summary: [QuickLook] WKPasswordView crash when re-enter
password.
Product: WebKit
Version: WebKit Nightly Build
Hardware: iPhone / iPad
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yianzhou2 at gmail.com
CC: kkinnunen at apple.com
Created attachment 452692
--> https://bugs.webkit.org/attachment.cgi?id=452692&action=review
backtrace
The way to reproduce:
1. Use iPhone WKWebView to open a document need password.
2. When the WKPasswordView has shown, enter the right password. Now the WebKit is about to navigate.
3. Enter the password again immediately. Crash happens with "EXC_BAD_ACCESS".
There is a property in WKPasswordView: `@property (nonatomic, copy) void (^userDidEnterPassword)(NSString *);`
Things the block `userDidEnterPassword` captured were released after the user enter the right password. If the user enter the password again in a short time, execute the `userDidEnterPassword` block again triggered the "EXC_BAD_ACCESS" crash.
Attachment is the backtrace.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220220/07c9ba8a/attachment.htm>
More information about the webkit-unassigned
mailing list