From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <14fb670993da32ae68ae138589b26e1b@rei2.9hal> Date: Sun, 26 Aug 2012 15:16:06 +0200 From: cinap_lenrek@gmx.de To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] dns Topicbox-Message-UUID: af9137f2-ead7-11e9-9d60-3106f5b1d025 anyone look at rrcopy() in dn.c, it seems it assumes that structures like rr->soa, rr->cert, rr->key, rr->sig and rr->null where embedded into the RR struct but this is not true. (porting bug?) when you look at rralloc(), you can see that these sub structures are indeed malloced so rrcopy needs to copy these too (like it does for the Tsrv case). this would explain the double frees one sees indeed. -- cinap