summaryrefslogtreecommitdiff
path: root/ubusd.h
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-12-19 11:10:46 +0100
committerPetr Štetiar <ynezz@true.cz>2019-12-19 19:53:25 +0100
commitdac6c7c575ac2f8f04706a137e703deffbf88aa7 (patch)
tree5c707f76e029239aa3e153be5977d8983da364fd /ubusd.h
parent060dfbb26da320ed8e897dd522278e7437ee8fe9 (diff)
downloadubus-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 'ubusd.h')
0 files changed, 0 insertions, 0 deletions