sway/sway/commands
Brian Ashworth d4e49a49eb 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-11 10:22:53 -05:00
..
bar Move sway-specific functions in common/util.c into sway/ 2019-01-21 12:39:16 -05:00
input Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle 2019-01-21 09:28:47 -05:00
output output_cmd_background: fix no file + valid mode 2019-02-11 10:22:53 -05:00
seat seat_cmd_cursor: do not create non-existing seat 2019-02-11 10:15:00 -05:00
assign.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
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 Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
client.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
create_output.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_floating_border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_orientation.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
exec.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
exec_always.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
exit.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
floating.c commands: allow setting floating on scratchpad containers 2019-01-22 11:47:48 +00:00
floating_minmax_size.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
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 Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
focus_on_window_activation.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
focus_wrapping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
font.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
for_window.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
force_display_urgency_hint.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
force_focus_wrapping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
fullscreen.c Implement fullscreen global 2019-01-25 08:29:21 +10:00
gaps.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
hide_edge_borders.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
include.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
input.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
kill.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
layout.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
mark.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
mode.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
mouse_warping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
move.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
no_focus.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
nop.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
opacity.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
output.c Remove assumption that noop output will be called NOOP-1 2019-01-22 09:55:13 +01:00
popup_during_fullscreen.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
reload.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
rename.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
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 Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
show_marks.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
smart_borders.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
smart_gaps.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
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 Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
swaynag_command.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
tiling_drag.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
tiling_drag_threshold.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
title_align.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
title_format.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
titlebar_border_thickness.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
titlebar_padding.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
unmark.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
urgent.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
workspace.c cmd_workspace_gaps: fix double free on bad amount 2019-02-11 10:15:00 -05:00
workspace_layout.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
ws_auto_back_and_forth.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
xwayland.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00