sway/common
Matt Coffin 2b5bf78faf Fix segfaults caused by faulty command parsing
This patch fixes faulty command parsing introduced by
f0f5de9a9e. When that commit allowed
criteria reset on ';' delimeters in commands lists, it failed to account
for its inner ','-parsing loop eating threw the entire rest of the
string.

This patch refactors argsep to use a list of multiple separators, and
(optionally) return the separator that it matched against in this
iteration via a pointer. This allows it to hint at the command parser
which separator was used at the end of the last command, allowing it to
trigger a potential secondary read of the criteria.

Fixes #4239
2019-06-11 14:40:36 -04:00
..
background-image.c swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
cairo.c swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.c common/ipc-client: remove ipc recv timeout log 2019-05-27 08:02:10 +03:00
list.c Merge pull request #3271 from ianyfan/list-cleanup 2018-12-09 21:50:19 +10:00
log.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
loop.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
meson.build Removed unused wlroots dependency for sway(bg|bar|msg|nag) 2019-01-21 13:04:15 -05:00
pango.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
stringop.c Fix segfaults caused by faulty command parsing 2019-06-11 14:40:36 -04:00
util.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00