dbus: check that interface is not NULL (FS#667)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1dfa2c2a8d
commit
019608aa9e
2
dbus.c
2
dbus.c
|
@ -319,7 +319,7 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
signal_t *sig = signal_array_getbyid(&dbus_signals,
|
signal_t *sig = signal_array_getbyid(&dbus_signals,
|
||||||
a_strhash((const unsigned char *) interface));
|
a_strhash((const unsigned char *) NONULL(interface)));
|
||||||
if(sig)
|
if(sig)
|
||||||
{
|
{
|
||||||
/* there can be only ONE handler to send reply */
|
/* there can be only ONE handler to send reply */
|
||||||
|
|
Loading…
Reference in New Issue