diff options
author | rephorm <rephorm> | 2007-04-22 03:50:44 +0000 |
---|---|---|
committer | rephorm <rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2007-04-22 03:50:44 +0000 |
commit | b1841d326562d270dc0dc677b60467789a77dd3d (patch) | |
tree | 265c0ac0a333d897955fcacaf90d003dd272124e /src/bin/e_editable.c | |
parent | 6fad95e77e09398305d1d00ab3f8812adae2847b (diff) | |
download | enlightenment-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.c | 3 |
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); |