diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2021-10-21 18:22:50 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-22 09:57:05 +0200 |
commit | 96baef8ae9955dd7ffd85c6b769a14df1f95bc97 (patch) | |
tree | 5e6af92bb5d149c5e5f1141d79a9b7a25bcb2673 /include/ipc-client.h | |
parent | 944d7031c5a1ffebb105fb1fed3f957903abe8da (diff) |
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 'include/ipc-client.h')
0 files changed, 0 insertions, 0 deletions