diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-22 10:57:22 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-22 11:02:47 +0100 |
commit | a4d346627cc661f32bc7fb65a43ff19d48b50a96 (patch) | |
tree | 9fe3ee50c17a53266183e1e4643bb149c6af6c86 /swaynag | |
parent | b148da848ae9075822cd8ddd743532f3ce78f923 (diff) |
swaybar: explicitly check return value of getdelim
This prevents an signed-to-unsigned conversion error on buffer_index if
getdelim fails and returns -1, which caused swaybar to try to search the
header for the array and immediately failing
Diffstat (limited to 'swaynag')
0 files changed, 0 insertions, 0 deletions