diff options
| author | Ian Fan <[email protected]> | 2018-09-22 10:57:22 +0100 |
|---|---|---|
| committer | Ian Fan <[email protected]> | 2018-09-22 11:02:47 +0100 |
| commit | a4d346627cc661f32bc7fb65a43ff19d48b50a96 (patch) | |
| tree | 9fe3ee50c17a53266183e1e4643bb149c6af6c86 /include/swaybar/ipc.h | |
| 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 'include/swaybar/ipc.h')
0 files changed, 0 insertions, 0 deletions
