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)
committerMartin Pitt <mpitt@debian.org>
Mon, 18 Feb 2019 13:54:04 +0000 (13:54 +0000)
commit1d630b65c63a5bb7f453c08153c9d6c113576f29
tree2fccd17aab9c9b78c4ad812004a8733500560028
parent8d6da655bc627b636e08e89cd7e3d24b522ce54c
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.

(cherry picked from commit 6d586a13717ae057aa1b4127400c3de61cd5b9e7)

Gbp-Pq: Name sd-bus-if-we-receive-an-invalid-dbus-message-ignore-and-p.patch
src/libsystemd/sd-bus/bus-socket.c