[webkit-changes] [WebKit/WebKit] d16543: Fix use-after-move in SWServer::addRegistrationFro...

Fujii Hironori noreply at github.com
Thu Sep 26 04:41:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d1654394a866d32c80836c10513b0961bb4a1b85
      https://github.com/WebKit/WebKit/commit/d1654394a866d32c80836c10513b0961bb4a1b85
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M Source/WebCore/workers/service/server/SWServer.cpp

  Log Message:
  -----------
  Fix use-after-move in SWServer::addRegistrationFromStore
https://bugs.webkit.org/show_bug.cgi?id=279733

Reviewed by Charlie Wolfe.

I observed an assertion failure when I started Window Debug
MiniBrowser on my PC.

> ASSERTION FAILED: !isHashTraitsEmptyValue<KeyTraits>(key)

`data` was used after move in SWServer::addRegistrationFromStore for
Windows port.

* Source/WebCore/workers/service/server/SWServer.cpp:
(WebCore::SWServer::addRegistrationFromStore):

Canonical link: https://commits.webkit.org/284277@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