aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/mark.c
diff options
context:
space:
mode:
authorGeoff Greer <geoff@greer.fm>2017-10-22 01:00:32 -0700
committerGeoff Greer <geoff@greer.fm>2017-10-22 14:09:50 -0700
commit98875443ea96361eb4da7890c87922ccb3571f51 (patch)
tree69ad279926d48dc20265cb45c95dfabff5f0fddb /sway/commands/mark.c
parent66d3777c1443207c6590fce63def93cb102a05a8 (diff)
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 'sway/commands/mark.c')
0 files changed, 0 insertions, 0 deletions