aboutsummaryrefslogtreecommitdiff
path: root/common/loop.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2020-06-04 13:47:57 +0200
committerFurkan Sahin <furkan-dev@proton.me>2020-06-04 13:47:57 +0200
commit8e7d832203bd88f904282c4af5f0bcf22066ae8b (patch)
treea632604bbd3ba626d086fd88613d646354d21dae /common/loop.c
parente54adfd2c070910d5f978eaf5096f04edb4486eb (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 'common/loop.c')
0 files changed, 0 insertions, 0 deletions