summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 10:19:14 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 10:19:14 -0500
commit348a3be719b0c3980bbf9299067917d51abc88ab (patch)
treef1edd8cc353e015c2e73209a009a9c2302a0a8dd
parent02fc2fffa8ff9b13ce4848bc1e986299c4ed10c7 (diff)
downloadenlightenment-348a3be719b0c3980bbf9299067917d51abc88ab.tar.gz
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
-rw-r--r--src/modules/lokker/lokker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/lokker/lokker.c b/src/modules/lokker/lokker.c
index d7a78d0d7f..db9fb8211a 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())
{