fix(mail): handle empty "Mail.Note" in ms-tnef body part

Fixes #5388
This commit is contained in:
Francis Lachapelle
2022-01-07 16:02:55 -05:00
parent 81c19976e3
commit b0c5adf525
+1
View File
@@ -309,6 +309,7 @@ unsigned char GetRruleMonthNum(unsigned char a, unsigned char b) {
{
if (tnef.subject.size > 0)
{
data = nil;
filedata = MAPIFindProperty(&(tnef.MapiProperties), PROP_TAG(PT_BINARY, PR_BODY_HTML));
if (filedata != MAPI_UNDEFINED)
{