swayfx/sway/commands/output
ael-code ad085c1332
bugfix: avoid access after free
if src is NULL due to a previous error we cannot use it in the command
result string.

Moreover if `src` points to `p.we_wordv[0]` we cannot use it after
`wordfree(&p)` in the command result string.

Bonus feature: If there was an error accessing the file, the string
rapresentation of the error is now included in the command result
string.
2018-06-22 15:41:44 +02:00
..
background.c bugfix: avoid access after free 2018-06-22 15:41:44 +02:00
disable.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
dpms.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
enable.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
mode.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
position.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
scale.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
transform.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00