sway/common
Brian Ashworth 89afb761ba output_cmd_background: fix no file + valid mode
If output_cmd_background is given a valid mode as the first argument,
then there is no file given and an error should be returned.

join_args should not be called with an argc of zero since it sets the
last character to the null terminator. With an argc of zero, the length
is zero causing a heap buffer overflow when setting the byte before the
start of argv to '\0'. This probably will not ever generate a segfault,
but may cause data corruption to whatever is directly before it in
memory. To make other such cases easier to detect, this also adds a
sway_assert in join_args when argc is zero.
2019-02-05 14:13:27 -05:00
..
background-image.c background-image.c: remove stdbool header 2019-01-22 12:58:24 -05:00
cairo.c
ipc-client.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
list.c
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 output_cmd_background: fix no file + valid mode 2019-02-05 14:13:27 -05:00
util.c util.c: remove numlen function 2019-01-22 13:10:25 +01:00