aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tobias Stoeckmann <tobias@stoeckmann.org>2021-07-23 19:02:33 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-07-23 20:05:16 +0200
commite7f4e50da0a46babf968c266250df1f2a09f620f (patch)
treec639a1d298d77549005b0fc54b06dca9bfdc2d9a /include
parentAdd `gaps <type> <scope> toggle <px>` command (diff)
downloadsway-e7f4e50da0a46babf968c266250df1f2a09f620f.tar.gz
sway-e7f4e50da0a46babf968c266250df1f2a09f620f.tar.zst
sway-e7f4e50da0a46babf968c266250df1f2a09f620f.zip
Fix crash when starting without HOME
If HOME environment variable is not set, sway fails startup with a segmentation fault due to null pointer dereference. Also check calloc return value and only perform the fallback code when really needed. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions