diff options
author | Perry Kundert <perry@kundert.ca> | 2011-10-29 14:47:53 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-10-29 14:47:53 +0200 |
commit | 09574a6104ce824c43fe8261d31451ccb337d11b (patch) | |
tree | 612a254d1394676b6b446400dd8f89674f052cb2 /builds/redhat/zeromq.spec.in | |
parent | 52bab42212c263a51b219ae8714c481bc948cb4e (diff) |
Corrected discarding of remainder of message when request ID invalid
When zmq::req_t::xrecv detects that a response has no request ID
label, or the ID is the wrong size, it would return an EAGAIN, but
would not discard the remainder of the message. This could allow the
remainder of the message to incorrectly "leak" into a future response,
if it is crafted to look like a reply with a valid response ID.
Discard all remaining message blocks, if the ID is invalid in any way.
Diffstat (limited to 'builds/redhat/zeromq.spec.in')
0 files changed, 0 insertions, 0 deletions