https://bugzilla.gnome.org/show_bug.cgi?id=789564

            Bug ID: 789564
           Summary: segfault in _gdk_wayland_cursor_set_scale
    Classification: Platform
           Product: gtk+
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
     GNOME version: ---

Created attachment 362419
  --> https://bugzilla.gnome.org/attachment.cgi?id=362419&action=edit
backtrace

I consistently see a segfault in _gdk_wayland_cursor_set_scale using an app
(virt-viewer). cursor->name is NULL and g_str_equal tries to dereference it,
see backtrace attached. This is with 3.22.4, but should happen in master as
well.

Commit db49d12fcf3 standarized the name of blank cursors to "none" in
_gdk_wayland_display_get_cursor_for_name_with_scale.

I assume the problem is that _gdk_wayland_display_get_cursor_for_surface can
still create a blank cursor with NULL name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to