summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSang-Hun Chung <sanghun.chung@samsung.com>2013-03-22 11:18:37 +0900
committerGerrit Code Review <gerrit2@kim11>2013-03-22 11:18:37 +0900
commite062bf15f7272f27c6fd2b142d9d5396d7a80123 (patch)
treee1063c830ee33900d36be0ca95e42602c0cb4bcf
parent6b836e4cd456d90c68f25d9a8f068f732feef22c (diff)
parent39f849b3075f2ce2ece84f800eef9e632a9c77a7 (diff)
downloademail-service-e062bf15f7272f27c6fd2b142d9d5396d7a80123.tar.gz
email-service-e062bf15f7272f27c6fd2b142d9d5396d7a80123.tar.bz2
email-service-e062bf15f7272f27c6fd2b142d9d5396d7a80123.zip
Merge "Fixed the crash for syncing"
-rwxr-xr-xemail-core/email-core-mailbox-sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/email-core/email-core-mailbox-sync.c b/email-core/email-core-mailbox-sync.c
index 12f362c..f7c75e3 100755
--- a/email-core/email-core-mailbox-sync.c
+++ b/email-core/email-core-mailbox-sync.c
@@ -3217,7 +3217,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++;