From 019608aa9eb95cd5d5abb447a6a8b6aa9c484b16 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 9 Nov 2009 20:49:15 +0100 Subject: [PATCH] dbus: check that interface is not NULL (FS#667) Signed-off-by: Julien Danjou --- dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus.c b/dbus.c index f44294a0..a126bc65 100644 --- a/dbus.c +++ b/dbus.c @@ -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 */