aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
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/e-summary-mail.c
parent046bcbb23e12024a3ecc30ce98f1b120858a0449 (diff)
downloadgsoc2013-evolution-65fd3e3e30788aaf5a2661246c039a7ada71d55e.tar.gz
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/e-summary-mail.c')
-rw-r--r--my-evolution/e-summary-mail.c3
1 files changed, 3 insertions, 0 deletions
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\" "