aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-11-17 07:19:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-11-17 07:19:55 +0800
commit48820eabf414852ad255234d955ea011d6f71ae4 (patch)
treeb8d4806087689599e8b0c3488943d6983a535bdb /camel/providers
parentfc71161f50e0d4fe7a4ae6cafdd8f4bbd60ff7ce (diff)
downloadgsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.tar
gsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.tar.gz
gsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.tar.bz2
gsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.tar.lz
gsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.tar.xz
gsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.tar.zst
gsoc2013-evolution-48820eabf414852ad255234d955ea011d6f71ae4.zip
Abort if body == NULL.
2001-11-16 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_parse_body): Abort if body == NULL. svn path=/trunk/; revision=14738
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c
index f7c63ebcc0..d5466bf9ac 100644
--- a/camel/providers/imap/camel-imap-utils.c
+++ b/camel/providers/imap/camel-imap-utils.c
@@ -475,7 +475,7 @@ imap_parse_body (char **body_p, CamelFolder *folder,
CamelContentType *type;
int len;
- if (*body++ != '(') {
+ if (!body || *body++ != '(') {
*body_p = NULL;
return;
}