Closed
Description
Issue description
The maximum value for ZMQ_HEARTBEAT_TTL is not correctly checked.
Environment
- libzmq version (commit hash if unreleased): 50374bf
- OS: any
Minimal test code / Steps to reproduce the issue
int value = 655400;
zmq_setsockopt (socket, ZMQ_HEARTBEAT_TTL, &value, sizeof (value))
What's the actual result? (include assertion message & call stack if applicable)
-1 / EINVAL
What's the expected result?
0
Metadata
Metadata
Assignees
Labels
No labels