diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2020-06-04 13:47:57 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2020-06-04 13:47:57 +0200 |
| commit | 8e7d832203bd88f904282c4af5f0bcf22066ae8b (patch) | |
| tree | a632604bbd3ba626d086fd88613d646354d21dae /swaynag/main.c | |
| parent | e54adfd2c070910d5f978eaf5096f04edb4486eb (diff) | |
cmd/bar/colors: fix dereference of null pointer
`!*rgba` tests if the first byte of rgba isn't `'\0'`.
`hex_to_rgba_hex` returns NULL if `parse_color` fails. There's a null
pointer dereference in that case. The intended behavior is `!rgba`.
Diffstat (limited to 'swaynag/main.c')
0 files changed, 0 insertions, 0 deletions
