summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLibravatar Geoff Greer <geoff@greer.fm>2017-10-22 01:00:32 -0700
committerLibravatar Geoff Greer <geoff@greer.fm>2017-10-22 14:09:50 -0700
commit98875443ea96361eb4da7890c87922ccb3571f51 (patch)
tree69ad279926d48dc20265cb45c95dfabff5f0fddb /CMakeLists.txt
parentMerge pull request #1419 from 4e554c4c/better_logs (diff)
downloadsway-98875443ea96361eb4da7890c87922ccb3571f51.tar.gz
sway-98875443ea96361eb4da7890c87922ccb3571f51.tar.zst
sway-98875443ea96361eb4da7890c87922ccb3571f51.zip
swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC response can't be parsed.
The default max nesting depth of json-c is 32, which can cause some valid trees to fail to be parsed, so increase that. Also instead of segfaulting, just abort and print the error returned by json-c.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions