Problem: pointer union for zmq_msg_t is a hack
Solution: use compiler's alignment attributes instead which is clearer and less of a hack. Pointer alignment violations causing crashes on architectures such as sparc64 and aarch64. This also avoid triggering ABI checkers as the change is compatible even though applications that suffer from the bug should rebuild to take advantage of the fix.
Showing
Please
register
or
sign in
to comment