From fd924317fb5427c1e243a948566033f05339aa18 Mon Sep 17 00:00:00 2001 From: Sunghyun Kwon Date: Thu, 18 Apr 2013 10:39:46 +0900 Subject: [PATCH] Fixed the BS : pointer variable no check --- email-core/email-core-mailbox-sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email-core/email-core-mailbox-sync.c b/email-core/email-core-mailbox-sync.c index 83796cd..328b5ee 100755 --- a/email-core/email-core-mailbox-sync.c +++ b/email-core/email-core-mailbox-sync.c @@ -3282,7 +3282,7 @@ static int emcore_parse_image_part_for_partial_body(char *header_start_string, c EM_DEBUG_LOG("Content-type: image"); - while (*image_boundary != LF) + while (image_boundary && *image_boundary != LF) image_boundary--; image_boundary++; -- 2.7.4