diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-12-19 11:10:46 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-12-19 19:53:25 +0100 |
commit | dac6c7c575ac2f8f04706a137e703deffbf88aa7 (patch) | |
tree | 5c707f76e029239aa3e153be5977d8983da364fd /.gitlab-ci.yml | |
parent | 060dfbb26da320ed8e897dd522278e7437ee8fe9 (diff) | |
download | ubus-dac6c7c575ac2f8f04706a137e703deffbf88aa7.tar.gz |
ubusd_monitor: fix possible null pointer dereference
This dereference could possibly happen if the calloc call fails as the
return value is unchecked. While at it refactor the code little bit to
make it easier to follow, use safe list iterator and provide return
value for ubusd_monitor_connect.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions