[evolution/webkit: 182/196] Fix potential crash in digest formatter
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 182/196] Fix potential crash in digest formatter
- Date: Tue, 27 Mar 2012 16:16:01 +0000 (UTC)
commit 8d819d9b6bb10733797823d068b0378fd818d201
Author: Dan VrÃtil <dvratil redhat com>
Date: Tue Mar 6 17:06:53 2012 +0100
Fix potential crash in digest formatter
em-format/em-format.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 4ceb051..8c21bcf 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -730,7 +730,8 @@ emf_parse_multipart_digest (EMFormat *emf,
}
handler = em_format_find_handler (emf, "message/rfc822");
- handler->parse_func (emf, subpart, part_id, info, cancellable);
+ if (handler && handler->parse_func)
+ handler->parse_func (emf, subpart, part_id, info, cancellable);
g_string_truncate (part_id, len);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]