busname: fix CMD_FREE ioctl
The KDBUS_CMD_FREE ioctl struct has a size field now, which needs to be set.
This commit is contained in:
+3
-1
@@ -730,7 +730,9 @@ static int busname_peek_message(BusName *n) {
|
||||
.size = sizeof(cmd_recv),
|
||||
.flags = KDBUS_RECV_PEEK,
|
||||
};
|
||||
struct kdbus_cmd_free cmd_free = {};
|
||||
struct kdbus_cmd_free cmd_free = {
|
||||
.size = sizeof(cmd_free),
|
||||
};
|
||||
const char *comm = NULL;
|
||||
struct kdbus_item *d;
|
||||
struct kdbus_msg *k;
|
||||
|
||||
Reference in New Issue
Block a user