https://bugs.freedesktop.org/show_bug.cgi?id=73066
Priority: medium
Bug ID: 73066
Assignee: [email protected]
Summary: Segmentation fault in click_to_activate_binding
(shell.c, line 4481 for weston 1.3.1)
Severity: minor
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: NEW
Version: 1.3.0
Component: weston
Product: Wayland
When I click into the black screen of the compositor, it fails with a
segmentation fault in line 4481 in shell.c:
activate_binding(seat, data, seat->pointer->focus->surface);
In my scenario, focus is null. I understand, that this is propably caused by an
improperly (and self-written) desktop shell. However, a good practice would be
a) either to guarantee, that focus is non-null, whenever this function is
called, or
b) to check focus on null and logging an expressive error message instead of
seg-faulting.
Regards, Florian.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs