dbus: check that interface is not NULL (FS#667)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-11-09 20:49:15 +01:00
parent 1dfa2c2a8d
commit 019608aa9e
1 changed files with 1 additions and 1 deletions

2
dbus.c
View File

@ -319,7 +319,7 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg)
else
{
signal_t *sig = signal_array_getbyid(&dbus_signals,
a_strhash((const unsigned char *) interface));
a_strhash((const unsigned char *) NONULL(interface)));
if(sig)
{
/* there can be only ONE handler to send reply */