mirror of
https://github.com/systemd/systemd.git
synced 2025-09-06 05:44:41 +03:00
bus: when reading a message from the socket, make sure to note down the size
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user