[webkit-changes] [WebKit/WebKit] 9dbd00: Web Inspector: Fix use-after-move in Inspector::In...

EWS noreply at github.com
Mon Dec 12 14:18:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9dbd0014372af3452dfda010cd51cf29ca145a08
      https://github.com/WebKit/WebKit/commit/9dbd0014372af3452dfda010cd51cf29ca145a08
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp

  Log Message:
  -----------
  Web Inspector: Fix use-after-move in Inspector::InspectorDebuggerAgent::didCreateNativeExecutable()
https://bugs.webkit.org/show_bug.cgi?id=249064
<rdar://103204166>

Reviewed by Patrick Angle.

Fix use-after-move of `oldJITCodeRef` by using moved-to variable
in RELEASE_ASSERT() expressions.

* Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp:
(Inspector::InspectorDebuggerAgent::didCreateNativeExecutable):

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




More information about the webkit-changes mailing list