- 24 Aug, 2012 1 commit
-
-
Arthur O'Dwyer authored
Static analysis says: src\zmq.cpp(489): error V220: Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being casted: '* count_'. src\zmq.cpp(510): error V127: An overflow of the 32-bit 'nread' variable is possible inside a long cycle which utilizes a memsize-type loop counter. I've silenced the warning on line 489 and ignored the other. But also, it looks to me like there's a serious bug here: The out-parameter "count_" is never set to zero before we start incrementing it. So its final value will always be between 1 and 2 times its initial value. The fix seems obvious.
-
- 23 Aug, 2012 4 commits
-
-
Ian Barber authored
[LIBZMQ-414] Fix an error in the inline assembly for Thumb2.
-
Ian Barber authored
Fix a bug reported on the mailing list.
-
Arthur O'Dwyer authored
Both memcmp and strcmp return zero on equal, nonzero on nonequal; so all of these tests were backwards. The original committer fixed the failure by comparing 22 bytes instead of the correct 21, so that the assertions would trigger only if the 22nd byte happened to match exactly --- which was rare. The correct fix is to compare the right number of bytes with the right sense. (I think all of the ".addr" fields are null-terminated, in which case it's more appropriate to use strcmp throughout.)
-
Arthur O'Dwyer authored
Notice that ZeroMQ has never been compiled for Thumb2 before, and I personally don't make any guarantees that it will actually behave correctly once compiled. But after this patch, it is at least *possible* to compile it for Thumb2. (Thumb2 is the target for most iOS devices.)
-
- 12 Aug, 2012 1 commit
-
-
Pieter Hintjens authored
Exchange greeting messages for all socket types
-
- 11 Aug, 2012 1 commit
-
-
Martin Hurton authored
Fixes #415.
-
- 05 Aug, 2012 2 commits
-
-
Ian Barber authored
Revert zmq_poll NULL poll items check to 2.2 behavior - let the poll items count filter out empty poll sets and not return a sometimes unexpected EFAULT error status
-
Ian Barber authored
Fix reordering compile errors
-
- 04 Aug, 2012 3 commits
-
-
Sebastian Lauwers authored
-
Pieter Hintjens authored
Fix invalid address metadata for ZMQ_EVENT_DISCONNECTED
-
Lourens Naudé authored
-
- 31 Jul, 2012 2 commits
-
-
Ian Barber authored
Fix issue #406
-
Martin Hurton authored
When a peer reconnects, the router socket receives an identity message containing this peer id. When this happens, the current implementation crashes. This patch makes a router socket to silently ignore all identity messages coming from reconnected peers.
-
- 29 Jul, 2012 1 commit
-
-
Pieter Hintjens authored
Fix LIBZMQ-404: zmq_term not truly re-entrant
-
- 28 Jul, 2012 1 commit
-
-
Ricardo Catalinas Jiménez authored
zmq_term can not safely be re-entered with pgm transport. Fix proposed by Steven McCoy.
-
- 26 Jul, 2012 3 commits
-
-
Ian Barber authored
Correction for LIBZMQ-335
-
Matthew Metnetsky authored
That way it can be used more appropriately between processes.
-
Matthew Metnetsky authored
By assigning a SECURITY_DESCRIPTOR to the event we gain the ability to share it between service and console programs. We also added EVENT_MODIFY_STATE as a requirement to OpenEvent so we can SetEvent later in the method.
-
- 24 Jul, 2012 1 commit
-
-
Lourens Naudé authored
Revert zmq_poll NULL poll items check to 2.2 behavior - let the poll items count filter out empty poll sets and not return a sometimes unexpected EFAULT error status
-
- 18 Jul, 2012 1 commit
-
-
Pieter Hintjens authored
Small code cleanup
-
- 17 Jul, 2012 1 commit
-
-
Martin Hurton authored
-
- 13 Jul, 2012 2 commits
-
-
Ian Barber authored
Fix issue #397
-
Martin Hurton authored
When closing an ipc listener, the library may try to unlink the associated file. When this fails, the underlying socket is not marked as retired and this triggers assertion failure. Fixes issue #397
-
- 11 Jul, 2012 4 commits
-
-
Ian Barber authored
Be more conservative about when to generate ZMQ_EVENT_CLOSE_FAILED
-
Martin Hurton authored
This also fixes a bug in tcp_connecter and tcp_listener, which generated the event not when they failed to close the socket but when the succeed to close it.
-
Pieter Hintjens authored
Small cleanup
-
Martin Hurton authored
-
- 06 Jul, 2012 8 commits
-
-
Ian Barber authored
Rewrite event processing in io_thread
-
Martin Hurton authored
-
Pieter Hintjens authored
Code cleanup
-
Martin Hurtoň authored
Reverting fix for #393
-
Martin Hurton authored
-
Pieter Hintjens authored
-
Ian Barber authored
Fixed issue #393 - Android build error
-
Pieter Hintjens authored
-
- 04 Jul, 2012 3 commits
-
-
Martin Hurtoň authored
Fixed HWM doc on ZMQ_PULL
-
Pieter Hintjens authored
-
Pieter Hintjens authored
Making Android&pyzmq friendly version with -avoid-version
-
- 03 Jul, 2012 1 commit
-
-
Cyril Holweck authored
-