summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-07-09 15:11:36 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-09 15:11:36 +0000
commitca99bb0d44843deb79fcf96942936ed2ed9f7ecc (patch)
treecc46276742c138738215b13b9d78e033f113bc9e /ChangeLog
parentee63b081c26fb9d987f3db32800fe993e9b642c8 (diff)
downloadgdk-pixbuf-ca99bb0d44843deb79fcf96942936ed2ed9f7ecc.tar.gz
Make GtkEntry work harder to protect passwords: (#143955, Morten Welinder)
2004-07-09 Matthias Clasen <mclasen@redhat.com> Make GtkEntry work harder to protect passwords: (#143955, Morten Welinder) * gtk/gtkentry.c (gtk_entry_destroy): Add a destroy handler to clear the password even if the widget is leaked. * gtk/gtkentry.c (gtk_entry_real_delete_text): * gtk/gtkentry.c (gtk_entry_finalize): Zero out the memory before freeing it. * gtk/gtkentry.c (gtk_entry_real_insert_text): Zero and free the old memory instead of just reallocating it. * gtk/gtkentry.c (gtk_entry_create_layout): Don't leak text direction information for passwords.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b56c6d76..8f2453905 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2004-07-09 Matthias Clasen <mclasen@redhat.com>
+ Make GtkEntry work harder to protect passwords: (#143955,
+ Morten Welinder)
+
+ * gtk/gtkentry.c (gtk_entry_destroy): Add a destroy handler
+ to clear the password even if the widget is leaked.
+
+ * gtk/gtkentry.c (gtk_entry_real_delete_text):
+ * gtk/gtkentry.c (gtk_entry_finalize): Zero out the memory
+ before freeing it.
+
+ * gtk/gtkentry.c (gtk_entry_real_insert_text): Zero and free
+ the old memory instead of just reallocating it.
+
+ * gtk/gtkentry.c (gtk_entry_create_layout): Don't leak text
+ direction information for passwords.
+
+2004-07-09 Matthias Clasen <mclasen@redhat.com>
+
* gtk/gtkstyle.c: Fix some cases where style functions were
not handling widget == NULL properly. (#146282)