From 0f1d5473395419e48771101524d87b2ebe4b2be9 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 29 Apr 2020 17:52:53 -0400 Subject: Fix infinite loop if exportAtom can't find a text part Oops. But also why the hell are people making multipart/alternative with only text/html inside? --- export.c | 1 + 1 file changed, 1 insertion(+) diff --git a/export.c b/export.c index c808ba8..9e40870 100644 --- a/export.c +++ b/export.c @@ -129,6 +129,7 @@ static void exportAtom( body = dataCheck(body, List).list.ptr[i]; break; } + if (part->multipart) break; } else { part = &part->parts.ptr[0]; body = dataCheck(body, List).list.ptr[0]; -- cgit 1.4.1