[Webkit-unassigned] [Bug 224209] New: [WPE][GTK] Null pointer dereference when child process exits immediately

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 5 14:52:29 PDT 2021


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

            Bug ID: 224209
           Summary: [WPE][GTK] Null pointer dereference when child process
                    exits immediately
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org

In https://github.com/flathub/org.gnome.Epiphany/issues/21 we discovered that when the child process exits immediately after it is spawned, g_subprocess_get_identifier() will return nullptr. In this case, we should crash cleanly with SIGABRT via g_error(), rather than crashing with a null pointer dereference inside g_ascii_strtoll(). SIGABRT is much nicer than SIGSEGV and indicates that we really do want to crash here, whereas SIGSEGV is just a bug.

-- 
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/20210405/2c7dbf4f/attachment.htm>


More information about the webkit-unassigned mailing list