aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-07-12 04:30:50 +0800
committerIain Holmes <iain@src.gnome.org>2001-07-12 04:30:50 +0800
commit65fd3e3e30788aaf5a2661246c039a7ada71d55e (patch)
treedcecb90bb8d035feed0707b1982431cf5cdfe8d7 /my-evolution
parent046bcbb23e12024a3ecc30ce98f1b120858a0449 (diff)
downloadgsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar
gsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar.gz
gsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar.bz2
gsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar.lz
gsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar.xz
gsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar.zst
gsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.zip
Secure e_summary_mail_generate_html
svn path=/trunk/; revision=11014
Diffstat (limited to 'my-evolution')
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-mail.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 70fa60d0a6..b36cd3e1cd 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,5 +1,10 @@
2001-07-11 Iain Holmes <iain@ximian.com>
+ * e-summary-mail.c (e_summary_mail_generate_html): Protect with
+ g_return_if_fail
+
+2001-07-11 Iain Holmes <iain@ximian.com>
+
* e-summary.c (destroy): Destroy the alarm.
(e_summary_init): Init the alarm.
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index 2d9293acbe..c3f8981add 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -93,6 +93,9 @@ e_summary_mail_generate_html (ESummary *summary)
GList *p;
gchar *s;
+ g_return_if_fail (summary != NULL);
+ g_return_if_fail (IS_E_SUMMARY (summary));
+
mail = summary->mail;
string = g_string_new ("<dl><dt><img src=\"ico-mail.png\" "
"align=\"middle\" alt=\"\" width=\"48\" "