chiark / gitweb /
sd-bus: don't assert() on valid signatures
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 28 Jul 2015 14:46:51 +0000 (16:46 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:19 +0000 (10:07 +0100)
commit21127a147a58a99640a0b8672350d48b47110df2
treecc031329ca958c5b514f8f43d6b84eb99a4395ef
parent8b124e62efc27331624d0da2480d5e39ecb00ab8
sd-bus: don't assert() on valid signatures

Right now sd_bus_message_skip() will abort execution if passed a
signature of the unary type "()". Regardless whether this should be
supported or not, we really must not abort. Drop the incorrect assertion
and add a test-case for this.
src/libelogind/sd-bus/bus-message.c
src/libelogind/sd-bus/test-bus-marshal.c