We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 813cffe + 4419699 commit 2f90ca0Copy full SHA for 2f90ca0
1 file changed
src/OVAL/probes/probe/worker.c
@@ -103,6 +103,11 @@ void *probe_worker_runfn(void *arg)
103
//
104
dD("handler result = %p, return code = %d", probe_res, probe_ret);
105
106
+ if (probe_res == NULL) {
107
+ dE("An error was returned by the input message handler: %s.", strerror(errno));
108
+ exit(1);
109
+ }
110
+
111
/* Assuming that the red-black tree API is doing locking for us... */
112
if (rbt_i32_del(pair->probe->workers, pair->pth->sid, NULL) != 0) {
113
dW("thread not found in the probe thread tree, probably canceled by an external signal");
0 commit comments