[webkit-changes] [WebKit/WebKit] c1af37: Fix issue found by static analyzer after281966 at main

Commit Queue noreply at github.com
Tue Aug 13 13:14:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c1af37e58f3e83881c886d9bae51aae65899d940
      https://github.com/WebKit/WebKit/commit/c1af37e58f3e83881c886d9bae51aae65899d940
  Author: Pascoe <pascoe at apple.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessProxy.cpp

  Log Message:
  -----------
  Fix issue found by static analyzer after281966 at main
https://bugs.webkit.org/show_bug.cgi?id=278036
rdar://133779171

Reviewed by Charlie Wolfe.

Here parameters->backForwardItemID is being used after being moved above.
To fix this issue we move parameters->backForwardItemID to a local variable
before parameters is moved.

* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::shouldSendPendingMessage):

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