[opendmarc-users] Error when send Forensic Reports = true

Murray S. Kucherawy msk at blackops.org
Mon Aug 20 12:46:20 PDT 2012


On Mon, 20 Aug 2012, Marcos wrote:
> *** glibc detected *** opendmarc: malloc(): memory corruption: 0x09611d80 ***
>
> This error occurs at this line:
>
> opendmarc/opendmarc.c:2327
>  out = popen(conf->conf_reportcmd, "w");
>
> I noticed that after this block:
> opendmarc/opendmarc.c:2315
>  for (h = dfc->mctx_hqhead; h != NULL; h = h->hdr_next)
>  {
>      dmarcf_dstring_printf(dfc->mctx_afrf,
>          "%s: %s\n",
>          h->hdr_name,
>          h->hdr_value);
>  }
>
> any fopen/popen will raise an exception.

I don't see anything that would obviously cause this.  Can you run it 
inside valgrind or something else that can identify the source of the heap 
corruption?

-MSK


More information about the opendmarc-users mailing list