mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-26 15:59:34 +02:00
some more sanity checks in pgm_socket
This commit is contained in:
parent
ff9d398555
commit
6705a3d580
@ -511,6 +511,7 @@ ssize_t zmq::pgm_socket_t::receive (void **raw_data_, const pgm_tsi_t **tsi_)
|
||||
|
||||
// Move the the next pgm_msgv_t structure.
|
||||
pgm_msgv_processed++;
|
||||
zmq_assert (pgm_msgv_processed <= pgm_msgv_len);
|
||||
nbytes_processed +=raw_data_len;
|
||||
|
||||
return raw_data_len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user