RESOLVED FIXED 280256
[GTK][WPE] IPC::Connection fails to unset FD_CLOEXEC
https://bugs.webkit.org/show_bug.cgi?id=280256
Summary [GTK][WPE] IPC::Connection fails to unset FD_CLOEXEC
Jani Hautakangas
Reported 2024-09-23 23:57:46 PDT
There's a logic error in UniStdExtrasUnix.cpp where unsetCloseOnExec(int) expects fnctl(...) F_GETFD to return -1 as a flags value before trying to remove FD_CLOEXEC flag. However, -1 indicates error so FD_CLOEXEC never gets removed and calling function in ConnectionUnix createPlatformConnection has RELEASE_ASSERT which leads to crash.
Attachments
Jani Hautakangas
Comment 1 2024-09-24 00:01:25 PDT
EWS
Comment 2 2024-09-24 03:16:58 PDT
Committed 284153@main (bddc4d06811a): <https://commits.webkit.org/284153@main> Reviewed commits have been landed. Closing PR #34151 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.