ethumb - check signature of arguments for crop

fix CID 1039711
This commit is contained in:
Carsten Haitzler 2014-08-27 14:52:11 +09:00
parent f5b975174f
commit 9e8f024b73
1 changed files with 1 additions and 1 deletions

View File

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