Fix execute_session_scan_read on big endian machines.
The buffer contains an int
, and msg_out->raw.iov_len
is a size_t
, which is twice the size on 64-bit machines. On big-endian machines, the 4 bytes of the int
will be put in the MSB, meaning malloc
will be called with a really big number.