Bug 274710

Summary: UI process crash due to null pointer dereference under ViewGestureController::applyMagnification()
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: UI EventsAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Abrar Rahman Protyasha 2024-05-25 03:56:53 PDT
rdar://128521737
Comment 1 Abrar Rahman Protyasha 2024-05-25 03:57:14 PDT
Information about the crash:

```
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Thread 0 Crashed::   Dispatch queue: com.apple.main-thread
0   com.apple.WebKit                       0x1ada630ec WebKit::ViewGestureController::applyMagnification() + 208
1   com.apple.WebKit                       0x1ad8dee50 WebKit::ViewGestureController::handleMagnificationGestureEvent(NSEvent*, WebCore::FloatPoint) + 296
2   com.apple.WebKit                       0x1ad9160e4 WebKit::WebViewImpl::magnifyWithEvent(NSEvent*) + 164
```
Comment 2 Abrar Rahman Protyasha 2024-05-25 04:10:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29112
Comment 3 EWS 2024-05-25 13:51:18 PDT
Committed 279322@main (0b0856901df8): <https://commits.webkit.org/279322@main>

Reviewed commits have been landed. Closing PR #29112 and removing active labels.