]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-socket.c
sd-bus: if we receive an invalid dbus message, ignore and proceeed
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Feb 2019 15:51:22 +0000 (16:51 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Feb 2019 09:27:37 +0000 (10:27 +0100)
commit6d586a13717ae057aa1b4127400c3de61cd5b9e7
treed6f33e1db9ab5abe08cebb6bfbbfc1016c564bb8
parentdc9cced4ac10f29052a728286465dcec74e88f05
sd-bus: if we receive an invalid dbus message, ignore and proceeed

dbus-daemon might have a slightly different idea of what a valid msg is
than us (for example regarding valid msg and field sizes). Let's hence
try to proceed if we can and thus drop messages rather than fail the
connection if we fail to validate a message.

Hopefully the differences in what is considered valid are not visible
for real-life usecases, but are specific to exploit attempts only.
src/libsystemd/sd-bus/bus-socket.c