Bug 254913 - [GLib] Crash opening webkit://gpu when XDG_CURRENT_DESKTOP is undefined
Summary: [GLib] Crash opening webkit://gpu when XDG_CURRENT_DESKTOP is undefined
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: All Linux
: P2 Normal
Assignee: Adrian Perez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-03 05:06 PDT by Adrian Perez
Modified: 2023-04-03 05:58 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2023-04-03 05:06:07 PDT
To reproduce:

  % (unset XDG_CURRENT_DESKTOP; epiphany -p webkit://gpu)
Comment 1 Adrian Perez 2023-04-03 05:06:47 PDT
We are missing a null check when reading the environment variable.
Comment 2 Adrian Perez 2023-04-03 05:35:04 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12314
Comment 3 EWS 2023-04-03 05:58:00 PDT
Committed 262504@main (6a3c0713422d): <https://commits.webkit.org/262504@main>

Reviewed commits have been landed. Closing PR #12314 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-04-03 05:58:14 PDT
<rdar://problem/107555084>