diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-09-29 13:05:17 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-09-29 13:05:17 +0200 |
commit | f4b4ded660cb6901af9c6a6548d8750b9e89982b (patch) | |
tree | b14684d606cd905808c2a2bf3c95cdf425f60c4f /vm.c | |
parent | a58fe4709f661b5f28e26701ea8638efccf5aeb6 (diff) |
uloop: task: gracefully handle absent output callback
Both input and output callbacks for uloop tasks are optional, but the
low level io callback implementation did not properly deal with an absent
ucode output callback, triggering an exception in managed code due to
invoking a null value as function.
Fix this issue by checking for the availability of a callable output
function and simply discarding the received task message otherwise.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions