]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check the return value from uv_async_send()
authorTony Finch <fanf@isc.org>
Mon, 15 May 2023 14:35:57 +0000 (15:35 +0100)
committerTony Finch <fanf@isc.org>
Mon, 15 May 2023 17:52:04 +0000 (18:52 +0100)
commitafae41aa40a5d71b7863eaccc06faaffed00c217
tree28fd27596b3db325c913a38c7d5793a81bc8d8bf
parente047508cb430c3fc5b0d58ca7a95d37c0d36513f
Check the return value from uv_async_send()

An omission pointed out by the following report from Coverity:

    /lib/isc/loop.c: 483 in isc_loopmgr_pause()
    >>>     CID 455002:  Error handling issues  (CHECKED_RETURN)
    >>>     Calling "uv_async_send" without checking return value (as is done elsewhere 5 out of 6 times).
    483      uv_async_send(&loop->pause_trigger);
lib/isc/loop.c