X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fforw.c;h=77339b30312311b55790f100a261ac44a58bc471;hp=4bb03d34d3cfcb6738f4d82a85fa2d8093be5a52;hb=10eff860a28b96582526eb739fd0a55441669938;hpb=d6742b1bb19c7eca8488402484a6e4f55543d789 diff --git a/uip/forw.c b/uip/forw.c index 4bb03d3..77339b3 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -333,7 +333,7 @@ build_form(char *form, char *digest, int volume, int issue) if ((in = dup(fileno(tmp))) == NOTOK) adios(EX_OSERR, "dup", "unable to"); - line = mh_xmalloc((unsigned) fmtsize); + line = mh_xcalloc((unsigned) fmtsize, sizeof(char)); fmt_scan(fmt, line, fmtsize, dat); fputs(line, tmp); free(line);