[Model] Z2
[BinType] AP
[Customer] N/A
[Issue#] P160504-07036, P160504-06929
[Request] PLM
[Occurrence Version] APE2
[Problem] eml file (airtel's mms file) was not parsed properly.
[Cause & Measure] Cause: the file's mime format was so strange.
Measure: Add checking null pointer
[Checking Method] push the eml file to device and trying to open it
[Team] Email
[Developer] san.cho@samsung.com
[Solution company] Samsung
[Change Type] PLM issue
Change-Id: I1c9c44f451b343d57642fb9176d0da8691b7e8ed
}
/*cid replacement for inline attachment*/
- if (content_disposition_type == INLINE_ATTACHMENT) {
+ if (cnt_info->text.html && content_disposition_type == INLINE_ATTACHMENT) {
char *file_content = NULL;
char *encoding_file_name = NULL;
int html_size = 0;