zeromq/libzmq — pull request #299 by pieterh (2012-03-29 12:48:34+00:00)
Title: Added checking to zmq_ctx_set()

Problem: this method did not check requested values for max sockets and i/o threads.

Solution: max sockets must be >= 1, and i/o threads >= 0, or the function returns an error EINVAL.