diff options
author | 2019-03-13 21:32:02 +0100 | |
---|---|---|
committer | 2019-03-13 22:04:04 -0600 | |
commit | d64e8ba9469f4fa0ff693a22c88c1afa687c4c6c (patch) | |
tree | 19265f09979b0990599ac11087438d3dde706a27 /swaybar/i3bar.c | |
parent | xwayland: handle floating configure request size (diff) | |
download | sway-d64e8ba9469f4fa0ff693a22c88c1afa687c4c6c.tar.gz sway-d64e8ba9469f4fa0ff693a22c88c1afa687c4c6c.tar.zst sway-d64e8ba9469f4fa0ff693a22c88c1afa687c4c6c.zip |
swaybar: fix loading of malformed icon theme
If the icon index.theme contained a key-value pair without a preceding
group header, entry_handler() would be called with a zero pointer and
lead to a segfault.
Set the error flag and break on such malformed files.
Diffstat (limited to 'swaybar/i3bar.c')
0 files changed, 0 insertions, 0 deletions