swayfx/sway/commands
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
..
bar Move sway-specific functions in common/util.c into sway/ 2019-01-21 12:39:16 -05:00
input
output output_cmd_background: fix no file + valid mode 2019-02-05 14:13:27 -05:00
seat seat_cmd_cursor: do not create non-existing seat 2019-02-03 14:01:29 -05:00
assign.c
bar.c util.c: remove numlen function 2019-01-22 13:10:25 +01:00
bind.c Move sway-specific functions in common/util.c into sway/ 2019-01-21 12:39:16 -05:00
border.c
client.c
create_output.c
default_border.c
default_floating_border.c
default_orientation.c
exec.c
exec_always.c
exit.c
floating.c commands: allow setting floating on scratchpad containers 2019-01-22 11:47:48 +00:00
floating_minmax_size.c
floating_modifier.c Move sway-specific functions in common/util.c into sway/ 2019-01-21 12:39:16 -05:00
focus.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
focus_follows_mouse.c
focus_on_window_activation.c
focus_wrapping.c
font.c
for_window.c
force_display_urgency_hint.c
force_focus_wrapping.c
fullscreen.c Implement fullscreen global 2019-01-25 08:29:21 +10:00
gaps.c
hide_edge_borders.c
include.c
input.c
kill.c
layout.c
mark.c
mode.c
mouse_warping.c
move.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
no_focus.c
nop.c
opacity.c
output.c Remove assumption that noop output will be called NOOP-1 2019-01-22 09:55:13 +01:00
popup_during_fullscreen.c
reload.c
rename.c
resize.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
scratchpad.c criteria & scratchpad verify if show in another workspace (#3522) 2019-01-30 09:05:46 -05:00
seat.c cmd_seat: allow - to be used as alias for current 2019-02-02 22:02:28 -05:00
set.c
show_marks.c
smart_borders.c
smart_gaps.c
split.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
sticky.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
swap.c Implement fullscreen global 2019-01-25 08:29:21 +10:00
swaybg_command.c
swaynag_command.c
tiling_drag.c
tiling_drag_threshold.c
title_align.c
title_format.c
titlebar_border_thickness.c
titlebar_padding.c
unmark.c
urgent.c
workspace.c cmd_workspace_gaps: fix double free on bad amount 2019-02-05 08:35:00 -05:00
workspace_layout.c
ws_auto_back_and_forth.c
xwayland.c