Re: [systemd-devel] [PATCH] kdbus: fix buffer overflow in bus_get_owner_kdbus() function

2014-10-10 Thread Daniel Mack
On 10/10/2014 12:29 PM, Lukasz Skalski wrote: > Commit 710fc9779b7c (kdbus repo) introduced attaching items[] > instead of name[] in kdbus_cmd_conn_info struct. Commit 581fe6c81 > (systemd repo) caught up with this change, but item size was not > properly calculated. Thanks for spotting this! App

[systemd-devel] [PATCH] kdbus: fix buffer overflow in bus_get_owner_kdbus() function

2014-10-10 Thread Lukasz Skalski
Commit 710fc9779b7c (kdbus repo) introduced attaching items[] instead of name[] in kdbus_cmd_conn_info struct. Commit 581fe6c81 (systemd repo) caught up with this change, but item size was not properly calculated. --- src/libsystemd/sd-bus/bus-control.c | 11 +-- 1 file changed, 5 inserti