Commit b5dc7942 authored by Patrik Wenger's avatar Patrik Wenger

Problem: zmq_poller_wait doesn't check *event arg

Solution: use zmq_assert to ensure it's not a nullpointer
parent 32f2b784
......@@ -1209,6 +1209,8 @@ int zmq_poller_wait (void *poller_, zmq_poller_event_t *event, long timeout_)
return -1;
}
zmq_assert (event != NULL);
zmq::socket_poller_t::event_t e;
memset (&e, 0, sizeof (e));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment