aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/ethumb_client
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 14:58:50 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 14:58:50 +0900
commit29c4a28457bcce49f49bef1b5cda6b80420bca13 (patch)
tree24a8aa0f172df71f32bcfd876369f5b379bdf41b /src/bin/ethumb_client
parentethumbd - check signature type (diff)
downloadefl-29c4a28457bcce49f49bef1b5cda6b80420bca13.tar.gz
ethumbd - check arg signature
fix CID 1039708
Diffstat (limited to 'src/bin/ethumb_client')
-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 7d66fd2ca6..0699272a46 100644
--- a/src/bin/ethumb_client/ethumbd.c
+++ b/src/bin/ethumb_client/ethumbd.c
@@ -1262,7 +1262,7 @@ _ethumb_dbus_size_set(Ethumbd_Object *eobject EINA_UNUSED, Eldbus_Message_Iter *
return 0;
}
- eldbus_message_iter_arguments_get(st, "ii", &w, &h);
+ if (!eldbus_message_iter_arguments_get(st, "ii", &w, &h)) return 0;
DBG("setting size to: %dx%d", w, h);
request->setup.flags.size = 1;
request->setup.tw = w;