projects
/
platform
/
core
/
messaging
/
email-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed the BS : pointer variable no check
[platform/core/messaging/email-service.git]
/
email-core
/
email-core-mailbox-sync.c
diff --git
a/email-core/email-core-mailbox-sync.c
b/email-core/email-core-mailbox-sync.c
index
83796cd
..
328b5ee
100755
(executable)
--- 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++;