ethumbd - check arg signature

fix CID 1039708
This commit is contained in:
Carsten Haitzler 2014-08-27 14:58:50 +09:00
parent b3fa71e0dc
commit 29c4a28457
1 changed files with 1 additions and 1 deletions

View File

@ -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;