Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d464f717df9050f11fe11af583b82cd7800edc4
      
https://github.com/WebKit/WebKit/commit/7d464f717df9050f11fe11af583b82cd7800edc4
  Author: Yury Semikhatsky <yu...@chromium.org>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/WPEView.cpp

  Log Message:
  -----------
  [WPE] frameDisplayed may be called after View has been deleted
https://bugs.webkit.org/show_bug.cgi?id=264360

Reviewed by Michael Catanzaro.

WKWPE::View is set as a client to wpe_view_backend in the view's
constructor. Since the backend may live longer than the view,
we reset clear the client in the view destuctor to avoid use
after free similar to the one mentioned in the bug.

* Source/WebKit/UIProcess/API/wpe/WPEView.cpp:
(WKWPE::View::~View):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to