chiark / gitweb /
kdbus: fix buffer overflow in bus_get_owner_kdbus() function
authorLukasz Skalski <l.skalski@samsung.com>
Fri, 10 Oct 2014 10:29:04 +0000 (12:29 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 10 Oct 2014 10:44:31 +0000 (12:44 +0200)
commit82279e696605fe4eeadd1ca3744c76c8790f885b
tree8bf2421430314a31fe1b83f4419d7b501eec27f6
parente737ef153c41435f1ad42b51233eedfb279e2ff7
kdbus: fix buffer overflow in bus_get_owner_kdbus() function

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