This patch avoids a read past the end of the input buffer in memcpy since the size of the received zmq message is recv_buf_size - 1. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Fixes CID1396836 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Fixes CID1396857.
The new name is more explicit.
The zmq context is not a valid log context. Fix crash.