diff options
author | 2015-10-19 19:42:49 +0200 | |
---|---|---|
committer | 2015-10-19 19:45:35 +0200 | |
commit | e3837ba634dd51482bb89cfa2b2f13f01bfcbcb6 (patch) | |
tree | 223b4bf653a5a77b3940c28b541048c6029f4886 /include/config.h | |
parent | Merge pull request #195 from sce/get_socketpath (diff) | |
download | sway-e3837ba634dd51482bb89cfa2b2f13f01bfcbcb6.tar.gz sway-e3837ba634dd51482bb89cfa2b2f13f01bfcbcb6.tar.zst sway-e3837ba634dd51482bb89cfa2b2f13f01bfcbcb6.zip |
commands: Gracefully handle empty commands.
Before this patch sway would proceed into find_handler which would cause
a crash trying to parse a NULL string.
This could be triggered via e.g. `i3-msg -s $(sway --get-socketpath)`.
Diffstat (limited to 'include/config.h')
0 files changed, 0 insertions, 0 deletions