check for null body when mime converting
This commit is contained in:
parent
df8bbcb660
commit
e3b7753a27
|
@ -748,7 +748,7 @@ void base64_mimeparts(MIMEEntity *m)
|
|||
if (ctype && !te
|
||||
#if 1
|
||||
&&
|
||||
octstr_check_range(m->body, 0, octstr_len(m->body), gw_isprint) == 0
|
||||
(m->body && octstr_check_range(m->body, 0, octstr_len(m->body), gw_isprint) == 0)
|
||||
#endif
|
||||
) {
|
||||
octstr_binary_to_base64(m->body);
|
||||
|
|
Loading…
Reference in New Issue