diff options
author | Simon Ser <contact@emersion.fr> | 2021-12-21 12:05:05 +0100 |
---|---|---|
committer | Ronan Pigott <rpigott@berkeley.edu> | 2021-12-21 14:52:08 -0700 |
commit | 59aebaa5f9f3afe9cdfbb0d37c4dc631690da3b9 (patch) | |
tree | e94fcd1ac98f17f97b6aa30ed50c4605064bcc02 /sway/ipc-json.c | |
parent | 414950bbc8e833362a689cc11720855e8edd1323 (diff) |
Add cairo_image_surface_create error handling
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.
Closes: https://github.com/swaywm/sway/issues/6531
Diffstat (limited to 'sway/ipc-json.c')
0 files changed, 0 insertions, 0 deletions