swayfx/sway
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
..
commands output_cmd_background: fix no file + valid mode 2019-02-05 14:13:27 -05:00
config Revert "More frees." 2019-02-01 11:52:37 +00:00
desktop Check xdg_surface's role before using its toplevel 2019-01-28 16:14:35 +01:00
input Merge pull request #3562 from vilhalmer/focus_follows_mouse-workspace-last-inactive 2019-02-03 20:15:21 +01:00
tree Remove bad assertion in container_handle_fullscreen_reparent 2019-01-29 08:05:55 +10:00
commands.c Fix quote stripping 2019-02-05 07:15:25 -05:00
config.c load_include_configs: fix wordexp fail condition 2019-02-05 09:33:45 +01:00
criteria.c Revert "Add some missing frees." 2019-02-01 11:51:03 +00:00
debug-tree.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
ipc-server.c IPC_COMMAND: split on newline 2019-02-05 07:39:21 -05:00
main.c Initialize server so input manager is available. 2019-02-05 15:39:22 +00:00
meson.build pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add relative pointer 2019-01-30 19:53:59 +01:00
sway-bar.5.scd Updates for scdoc 1.8.1 2019-01-31 08:42:29 -05:00
sway-input.5.scd cmd_seat: allow - to be used as alias for current 2019-02-02 22:02:28 -05:00
sway-output.5.scd Document cursor moving between adjacent outputs 2019-01-28 21:36:48 -05:00
sway.1.scd Remove unnecessary underscores in man pages 2019-01-27 11:27:48 -05:00
sway.5.scd pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
swaynag.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00