Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for crash when data is nil

  • Loading branch information...
commit d8034d4c83061dcdded14f35fc6e172817c3d33d 1 parent 859c5b7
@lyonanderson lyonanderson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/MailCoreUtilities.m
View
2  Source/MailCoreUtilities.m
@@ -267,7 +267,7 @@ void MailCoreDisableLogging() {
char *decodedSubject;
NSString *result;
- if (*data != '\0') {
+ if (data && *data != '\0') {
err = mailmime_encoded_phrase_parse(DEST_CHARSET, data, strlen(data),
&currToken, DEST_CHARSET, &decodedSubject);
Please sign in to comment.
Something went wrong with that request. Please try again.