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:
4875fca
)
Add a check for a null message when returning a hyperlink
author
Mike Gorse
<mgorse@suse.com>
Mon, 7 May 2012 16:28:05 +0000
(11:28 -0500)
committer
Mike Gorse
<mgorse@suse.com>
Mon, 7 May 2012 16:28:05 +0000
(11:28 -0500)
atspi/atspi-misc.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-misc.c
b/atspi/atspi-misc.c
index
37971cf
..
6589843
100644
(file)
--- a/
atspi/atspi-misc.c
+++ b/
atspi/atspi-misc.c
@@
-611,8
+611,12
@@
_atspi_dbus_return_hyperlink_from_message (DBusMessage *message)
{
DBusMessageIter iter;
AtspiHyperlink *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);