mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-06-09 07:28:23 +02:00
Currently, get_default_output returns a first member of the linked list, which can never be NULL. This is problematic, as the function would return a dangling pointer and NULL pointer checks wouldn't work where needed and some of the invalid members would get accessed that way, resulting in a crash. Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Signed-off-by: Armin Krezović <krezovic.armin@gmail.com> |
||
|---|---|---|
| .. | ||
| exposay.c | ||
| input-panel.c | ||
| shell.c | ||
| shell.h | ||