From 9d45b5ba0226609b41d6ae47b19d195db3239c74 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Sun, 20 Apr 2014 00:02:26 -0400 Subject: [PATCH] Sigh. Of course I find another bug after I release RC2. Make sure to initialize the enclosing CT structure when creating a message/external-body part. --- uip/mhbuildsbr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index cf7c53ac..a973fd9c 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -778,6 +778,7 @@ use_forw: */ if ((ct = (CT) calloc (1, sizeof(*ct))) == NULL) adios (NULL, "out of memory"); + init_decoded_content(ct, infilename); *ctp = ct; ci = &ct->c_ctinfo; if (get_ctinfo (buffer, ct, 0) == NOTOK) -- 2.56.0