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 11:46:35 -0500
commit084aeebaa7d0182b1180498fe5a93b68af862e9e (patch)
tree1998036d02fbb46417707cdfc9805064ecacdc46
parent2c7e448fb2189cb898fb29e1e0f641f479d3f7f9 (diff)
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 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)
727 else 727 else
728 { 728 {
729 /* here we have to grab a password */ 729 /* here we have to grab a password */
730 if (ev->compose) 730 if (ev->compose && (ev->string[0] >= 0x20) && (ev->string[0] != 0x7f))
731 { 731 {
732 if (lokker_is_pin()) 732 if (lokker_is_pin())
733 { 733 {