[Webkit-unassigned] [Bug 213165] New: Fix Overrelease in makeFailureSetForAllTextManipulationItems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 13 09:32:18 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213165

            Bug ID: 213165
           Summary: Fix Overrelease in
                    makeFailureSetForAllTextManipulationItems
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rhoule at apple.com

The following line of code in Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:

     RetainPtr<NSMutableArray> wkFailures = adoptNS([[[NSMutableArray alloc] initWithCapacity:items.count] autorelease]);

causes an overrelease when the autorelease pool is drained.

-- 
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/20200613/258abbe0/attachment.htm>


More information about the webkit-unassigned mailing list