diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2019-11-09 23:26:00 +0100 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2019-11-11 13:09:20 +0000 |
commit | 7193938d27d7ad5303e1acc016530dda1c3692b0 (patch) | |
tree | 877f73cdea0a0f6aa75420ba75e50867a3ac52fe /clutter/clutter/clutter-paint-nodes.c | |
parent | 5afec87b96828424a4a35ef9ccf9ddcc3e2edda6 (diff) | |
download | mutter-7193938d27d7ad5303e1acc016530dda1c3692b0.tar.gz |
compositor: Guard against untimely calls
It seems that sometimes these functions are called by Javascript in
GNOME Shell during tear down. This causes segfaults and crash reports,
but without any backtraces other than the entry and exit points into
gjs.
In order to get more useful information about where these calls come
from, validate the input passed gracefully, by complaining in the log
and returning NULL values.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/926
Diffstat (limited to 'clutter/clutter/clutter-paint-nodes.c')
0 files changed, 0 insertions, 0 deletions