diff options
Diffstat (limited to 'src/pgm_receiver.cpp')
-rw-r--r-- | src/pgm_receiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgm_receiver.cpp b/src/pgm_receiver.cpp index 50a8ff9..7af6ed5 100644 --- a/src/pgm_receiver.cpp +++ b/src/pgm_receiver.cpp @@ -153,7 +153,6 @@ void zmq::pgm_receiver_t::in_event () // information (sizeof uint16_t). raw_data += sizeof (uint16_t); nbytes -= sizeof (uint16_t); - zmq_assert (apdu_offset <= nbytes); // New peer. if (it == peers.end ()) { @@ -174,6 +173,7 @@ void zmq::pgm_receiver_t::in_event () // Now is the possibility to join the stream. if (!it->second.joined) { + zmq_assert (apdu_offset <= nbytes); zmq_assert (it->second.decoder == NULL); // We have to move data to the begining of the first message. |