From 348a3be719b0c3980bbf9299067917d51abc88ab Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 18 Nov 2016 10:19:14 -0500 Subject: [PATCH] reject non-printable characters from lokker entry previously characters such as tab would be injected into the entry when pressed. this is the same check which is used in various other places in efl for string validation --- src/modules/lokker/lokker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/lokker/lokker.c b/src/modules/lokker/lokker.c index d7a78d0d7..db9fb8211 100644 --- a/src/modules/lokker/lokker.c +++ b/src/modules/lokker/lokker.c @@ -727,7 +727,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) else { /* here we have to grab a password */ - if (ev->compose) + if (ev->compose && (ev->string[0] >= 0x20) && (ev->string[0] != 0x7f)) { if (lokker_is_pin()) {