projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4f51d
)
Add a check for a NULL message
author
Mike Gorse
<mgorse@novell.com>
Sat, 4 Dec 2010 10:25:22 +0000
(
05:25
-0500)
committer
Mike Gorse
<mgorse@novell.com>
Sat, 4 Dec 2010 10:25:22 +0000
(
05:25
-0500)
atspi/atspi-misc.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-misc.c
b/atspi/atspi-misc.c
index
37bfdaa
..
38087a0
100644
(file)
--- a/
atspi/atspi-misc.c
+++ b/
atspi/atspi-misc.c
@@
-566,8
+566,12
@@
_atspi_dbus_return_accessible_from_message (DBusMessage *message)
{
DBusMessageIter iter;
AtspiAccessible *retval = NULL;
- const char *signature = dbus_message_get_signature (message);
-
+ const char *signature;
+
+ if (!message)
+ return NULL;
+
+ signature = dbus_message_get_signature (message);
if (!strcmp (signature, "(so)"))
{
dbus_message_iter_init (message, &iter);