Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
at-spi2-core
at-spi2-core-null-event-source.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File at-spi2-core-null-event-source.patch of Package at-spi2-core
From 87edad3524073d5e478a9b5aa33ad4bb4700e444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= <apinheiro@igalia.com> Date: Fri, 14 Mar 2014 11:43:19 +0100 Subject: [PATCH] Add a check NULL of the source accessible handling an event https://bugzilla.gnome.org/show_bug.cgi?id=726243 --- atspi/atspi-event-listener.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c index 752d440..09ccfd3 100644 --- a/atspi/atspi-event-listener.c +++ b/atspi/atspi-event-listener.c @@ -995,6 +995,11 @@ _atspi_dbus_handle_event (DBusConnection *bus, DBusMessage *message, void *data) } e.type = converted_type; e.source = _atspi_ref_accessible (dbus_message_get_sender(message), dbus_message_get_path(message)); + if (e.source == NULL) + { + g_warning ("Got no valid source accessible for signal for signal %s from interface %s\n", member, category); + return DBUS_HANDLER_RESULT_HANDLED; + } dbus_message_iter_recurse (&iter, &iter_variant); switch (dbus_message_iter_get_arg_type (&iter_variant)) -- 1.8.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor