]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-service.c
shared/bus-util: fix dbus serialization of {RestartPrevent,RestartForce,Success}ExitS...
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 28 Jul 2019 09:55:49 +0000 (11:55 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 29 Jul 2019 13:54:53 +0000 (15:54 +0200)
commit62b21e2e89b68f0a1fb209e6677c61fdb4c32b34
tree935b513d366d3f000e082e021fda87a93411de53
parent32131a3aaad8f2102698fbd66a308d1d3e500da6
shared/bus-util: fix dbus serialization of {RestartPrevent,RestartForce,Success}ExitStatus

We were passing 1/4th of the size in bytes as argument. So depending
on the size of the array, either we'd only transfer a subset of values,
or we'd get an alignment error.
src/core/dbus-service.c
src/shared/bus-unit-util.c
src/systemctl/systemctl.c