From a75a6e47a5c181dc3e6c039b2c06103085ef9dff Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 25 Jan 2020 11:48:08 -0700 Subject: * Crash in Alpine when attempting to reply to a multipart/alternative message that is malformed, and the option to include attachments in reply is enabled. Reported and patched by Peter Tirsek. --- pith/reply.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pith/reply.c') diff --git a/pith/reply.c b/pith/reply.c index 3a75321e..ab4e97c2 100644 --- a/pith/reply.c +++ b/pith/reply.c @@ -1169,6 +1169,7 @@ reply_body(MAILSTREAM *stream, ENVELOPE *env, struct mail_bodystruct *orig_body, else if(orig_body->subtype && !strucmp(orig_body->subtype, "alternative") && orig_body->nested.part + && orig_body->nested.part->next && orig_body->nested.part->next->body.type == TYPEMULTIPART && orig_body->nested.part->next->body.subtype && !strucmp(orig_body->nested.part->next->body.subtype, "MIXED")) -- cgit v1.2.3-54-g00ecf