summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorLibravatar Sefa Eyeoglu <contact@scrumplex.net>2021-10-21 18:22:50 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-10-22 09:57:05 +0200
commit96baef8ae9955dd7ffd85c6b769a14df1f95bc97 (patch)
tree5e6af92bb5d149c5e5f1141d79a9b7a25bcb2673 /assets
parentfix: handle NULL from json_tokener_new_ex (diff)
downloadsway-96baef8ae9955dd7ffd85c6b769a14df1f95bc97.tar.gz
sway-96baef8ae9955dd7ffd85c6b769a14df1f95bc97.tar.zst
sway-96baef8ae9955dd7ffd85c6b769a14df1f95bc97.zip
fix: use sane value for json_tokener max_depth
INT_MAX causes a NULL pointer if there is not enough memory available to fit (INT_MAX * sizeof(struct json_tokener_srec)).
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions