Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/plugins/fts/fts-build-mail.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ static void fts_build_parse_content_type(struct fts_mail_build_context *ctx,
/* ... then store the remainder of the line - which may contain RFC2231
parameters - without parsing it because not all backends need them. In
the backends that need them further parsing can be implemented. */
ctx->content_type_params = i_strdup((const char *)parser.data);
ctx->content_type_params =
i_strndup(parser.data, parser.end - parser.data);
} T_END;
rfc822_parser_deinit(&parser);
}
Expand Down