diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2021-10-21 18:20:26 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-22 09:57:05 +0200 |
commit | 944d7031c5a1ffebb105fb1fed3f957903abe8da (patch) | |
tree | 33f1233f5939477c91f0ec27e82695ed94326ed8 /sway/commands/bar/bind.c | |
parent | 21d2fdf74c93a4d1df5dd2dc0d6bf24c611dd752 (diff) |
fix: handle NULL from json_tokener_new_ex
if there is not enough memory to fit json_tokener and (depth *
json_tokener_srec) in RAM, don't segfault.
Diffstat (limited to 'sway/commands/bar/bind.c')
0 files changed, 0 insertions, 0 deletions