Commit 638866cb authored by Lennart Poettering's avatar Lennart Poettering

bus: when reading a message from the socket, make sure to note down the size

parent 9ab32f9d
......@@ -302,6 +302,7 @@ int bus_message_from_malloc(
m->n_iovec = 1;
m->iovec[0].iov_base = buffer;
m->iovec[0].iov_len = length;
m->size = length;
r = message_parse_fields(m);
if (r < 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment