summaryrefslogtreecommitdiff
path: root/src/lib/eldbus
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-04-26 14:49:37 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-04-26 14:49:37 +0200
commitc56bb560d09f4d9feb58f34c6f173fb58b70a14b (patch)
treecab75e83498d6d630223015ed1b9ec754de3987d /src/lib/eldbus
parent24d6d83cf8625cb417ddce0a9ba8649f839c4aec (diff)
eldbus: check return of dbus_signature_iter_next()
CID: 1341856
Diffstat (limited to 'src/lib/eldbus')
-rw-r--r--src/lib/eldbus/eldbus_message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eldbus/eldbus_message.c b/src/lib/eldbus/eldbus_message.c
index 91f69b2052..e7295077ab 100644
--- a/src/lib/eldbus/eldbus_message.c
+++ b/src/lib/eldbus/eldbus_message.c
@@ -819,7 +819,8 @@ _eldbus_message_iter_arguments_vget(Eldbus_Message_Iter *iter, const char *signa
819 } 819 }
820 820
821 dbus_message_iter_next(&iter->dbus_iterator); 821 dbus_message_iter_next(&iter->dbus_iterator);
822 dbus_signature_iter_next(&sig_iter); 822 if (!dbus_signature_iter_next(&sig_iter))
823 break;
823 iter_type = dbus_message_iter_get_arg_type(&iter->dbus_iterator); 824 iter_type = dbus_message_iter_get_arg_type(&iter->dbus_iterator);
824 } 825 }
825 826