aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 14:52:11 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 14:52:11 +0900
commit9e8f024b7318b066deea7049835485cbe2fc449f (patch)
tree4bbb228171de210802148fe32cb7315bb279f961 /src
parentecore-con - use return valude of sendto. (diff)
downloadefl-9e8f024b7318b066deea7049835485cbe2fc449f.tar.gz
ethumb - check signature of arguments for crop
fix CID 1039711
Diffstat (limited to 'src')
-rw-r--r--src/bin/ethumb_client/ethumbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c
index 92c2bb4a33..ab95294c68 100644
--- a/src/bin/ethumb_client/ethumbd.c
+++ b/src/bin/ethumb_client/ethumbd.c
@@ -1337,7 +1337,7 @@ _ethumb_dbus_crop_set(Ethumbd_Object *eobject EINA_UNUSED, Eldbus_Message_Iter *
return 0;
}
- eldbus_message_iter_arguments_get(st, "dd", &x, &y);
+ if (!eldbus_message_iter_arguments_get(st, "dd", &x, &y)) return 0;
DBG("setting crop to: %3.2f,%3.2f", x, y);
request->setup.flags.crop = 1;
request->setup.cx = x;