[Wayland-bugs] [Bug 106129] Weston segfaults on startup if wl_event_loop_add_timer fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 18 21:07:30 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106129

            Bug ID: 106129
           Summary: Weston segfaults on startup if wl_event_loop_add_timer
                    fails
           Product: Wayland
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: hobbitalastair at yandex.com

Running weston with the headless backend will segfault if
wl_event_loop_add_timer fails (eg if timerfd is not enabled in the kernel)
since
https://github.com/wayland-project/weston/blob/42c0e14808bfd39e1a2eea34f43f0b5fe20fbb16/libweston/compositor-headless.c#L160
never checks if the returned result is NULL.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180418/d913b7f2/attachment.html>


More information about the wayland-bugs mailing list