diff options
author | 2021-10-21 18:22:50 +0200 | |
---|---|---|
committer | 2021-10-22 09:57:05 +0200 | |
commit | 96baef8ae9955dd7ffd85c6b769a14df1f95bc97 (patch) | |
tree | 5e6af92bb5d149c5e5f1141d79a9b7a25bcb2673 /README.dk.md | |
parent | fix: handle NULL from json_tokener_new_ex (diff) | |
download | sway-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 'README.dk.md')
0 files changed, 0 insertions, 0 deletions