From: Ken Hornstein Date: Sun, 20 Apr 2014 04:02:26 +0000 (-0400) Subject: Sigh. Of course I find another bug after I release RC2. Make sure to X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9d45b5ba0226609b41d6ae47b19d195db3239c74?ds=inline 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. --- 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)