[webkit-changes] [WebKit/WebKit] 8a2855: Use-after-move in `WebExtensionController::getData...

Charlie Wolfe noreply at github.com
Tue Feb 27 11:11:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a28553ef6fda9139227d766b5ed3ca0867d64f4
      https://github.com/WebKit/WebKit/commit/8a28553ef6fda9139227d766b5ed3ca0867d64f4
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerCocoa.mm

  Log Message:
  -----------
  Use-after-move in `WebExtensionController::getDataRecord()`
https://bugs.webkit.org/show_bug.cgi?id=270151
rdar://123674682

Reviewed by David Kilzer.

Fix a use-after-move on the completion handler and use explicit smart pointer types.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerCocoa.mm:
(WebKit::WebExtensionController::getDataRecord):

Canonical link: https://commits.webkit.org/275394@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list