[webkit-changes] [WebKit/WebKit] 6a3c07: [GLib] Crash opening webkit://gpu when XDG_CURRENT...

Adrian Perez noreply at github.com
Mon Apr 3 05:58:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a3c0713422d63c60b9bff0afac34170c2bd51ee
      https://github.com/WebKit/WebKit/commit/6a3c0713422d63c60b9bff0afac34170c2bd51ee
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp

  Log Message:
  -----------
  [GLib] Crash opening webkit://gpu when XDG_CURRENT_DESKTOP is undefined
https://bugs.webkit.org/show_bug.cgi?id=254913

Reviewed by Philippe Normand.

* Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU): Check whether picking
XDG_CURRENT_DESKTOP from the environment returns non-null and the
variable is not empty before using it.

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




More information about the webkit-changes mailing list