aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/ethumb_client
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 14:53:29 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 14:53:29 +0900
commitc4b2d133e4ed2a454fa7280d0a306fff930bea28 (patch)
treeb508e939f6e0966c40cd86a00492fd7c91b2538d /src/bin/ethumb_client
parentethumb - check signature of arguments for crop (diff)
downloadefl-c4b2d133e4ed2a454fa7280d0a306fff930bea28.tar.gz
ethumbd - check arg signaature type
fix CID 1039710
Diffstat (limited to 'src/bin/ethumb_client')
-rw-r--r--src/bin/ethumb_client/ethumbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c
index ab95294c68..2d02169ffe 100644
--- a/src/bin/ethumb_client/ethumbd.c
+++ b/src/bin/ethumb_client/ethumbd.c
@@ -1588,7 +1588,8 @@ _ethumb_dbus_ethumb_setup_parse_element(Ethumbd_Object *eobject, Eldbus_Message_
const char *option;
int i, r;
- eldbus_message_iter_arguments_get(data, "sv", &option, &variant);
+ if (!eldbus_message_iter_arguments_get(data, "sv", &option, &variant))
+ return 0;
r = 0;
for (i = 0; _option_cbs[i].option; i++)