summaryrefslogtreecommitdiff
path: root/tools/zmqsend.c
Commit message (Collapse)AuthorAge
* tools/zmqsend: Avoid mem copy past the end of input bufferAndriy Gelman2019-08-09
| | | | | | | | 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>
* tools/zmqsend: Do not truncate fgetc() returnMichael Niedermayer2016-12-24
| | | | | | Fixes CID1396836 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* zmqsend: Initialize ret to 0Timothy Gu2016-12-05
| | | | Fixes CID1396857.
* tools/zmqsend: rename ctx to zmq_ctxStefano Sabatini2013-12-23
| | | | The new name is more explicit.
* tools/zmqsend: use valid NULL log contextStefano Sabatini2013-12-23
| | | | The zmq context is not a valid log context. Fix crash.
* tools: add zmqsend tool, useful to test the zmq filtersStefano Sabatini2013-05-14