[Webkit-unassigned] [Bug 280256] New: [GTK][WPE] IPC::Connection fails to unset FD_CLOEXEC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 23 23:57:46 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280256

            Bug ID: 280256
           Summary: [GTK][WPE] IPC::Connection fails to unset FD_CLOEXEC
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jani at igalia.com
                CC: bugs-noreply at webkitgtk.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240924/07affe6b/attachment-0001.htm>


More information about the webkit-unassigned mailing list