summaryrefslogtreecommitdiff
path: root/src/bin/e_editable.c
diff options
context:
space:
mode:
authorrephorm <rephorm>2007-04-22 03:50:44 +0000
committerrephorm <rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2007-04-22 03:50:44 +0000
commitb1841d326562d270dc0dc677b60467789a77dd3d (patch)
tree265c0ac0a333d897955fcacaf90d003dd272124e /src/bin/e_editable.c
parent6fad95e77e09398305d1d00ab3f8812adae2847b (diff)
downloadenlightenment-b1841d326562d270dc0dc677b60467789a77dd3d.tar.gz
nuke password contents on del
SVN revision: 29633
Diffstat (limited to 'src/bin/e_editable.c')
-rw-r--r--src/bin/e_editable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/e_editable.c b/src/bin/e_editable.c
index 82569ea25b..0413c7d891 100644
--- a/src/bin/e_editable.c
+++ b/src/bin/e_editable.c
@@ -1179,6 +1179,9 @@ _e_editable_smart_del(Evas_Object *object)
evas_object_del(sd->text_object);
evas_object_del(sd->cursor_object);
evas_object_del(sd->selection_object);
+ /* Security - clear out memory that contained a password */
+ if (sd->password_mode)
+ memset(sd->text, 0, strlen(sd->text));
free(sd->text);
free(sd);