Diff between a2ca06f2ae75467f8f1b4dfca3978ec485b336ee and 842080fd1e4013c515e94c5bbb6a2f13fef0e11a
Changed Files
| File | Additions | Deletions | Status |
| gdbus/watch.c | +2 | -0 | modified |
Full Patch
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 27720e0..0f99f4f 100644
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -519,6 +519,8 @@ static DBusHandlerResult message_filter(DBusConnection *connection,
dbus_message_get_args(message, NULL, DBUS_TYPE_STRING, &arg, DBUS_TYPE_INVALID);
/* Sender is always the owner */
+ if (sender == NULL)
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
for (current = listeners; current != NULL; current = current->next) {
data = current->data;