Hey, This patch fixes a crash in smime. Bug 58733. James
Index: ChangeLog =================================================================== RCS file: /cvs/gnome/evolution/smime/ChangeLog,v retrieving revision 1.28 diff -u -r1.28 ChangeLog --- ChangeLog 13 May 2004 08:43:02 -0000 1.28 +++ ChangeLog 20 May 2004 01:54:40 -0000 @@ -1,3 +1,9 @@ +2004-05-19 James Willcox <jwillcox gnome org> + + * lib/e-cert-db.c: (pk11_password): + + Don't crash when the user presses 'cancel'. Fixes #58733. + 2004-05-13 Not Zed <NotZed Ximian com> * lib/e-cert-db.c (e_cert_db_login_to_slot): call SetPasswordFunc Index: lib/e-cert-db.c =================================================================== RCS file: /cvs/gnome/evolution/smime/lib/e-cert-db.c,v retrieving revision 1.10 diff -u -r1.10 e-cert-db.c --- lib/e-cert-db.c 13 May 2004 08:43:02 -0000 1.10 +++ lib/e-cert-db.c 20 May 2004 01:54:40 -0000 @@ -155,6 +155,9 @@ &pwd, &rv); + if (pwd == NULL) + return NULL; + nsspwd = PORT_Strdup (pwd); memset (pwd, 0, strlen (pwd)); g_free (pwd);
Attachment:
smime.p7s
Description: S/MIME cryptographic signature