Re: libspf2 crash

Ladar Levison <[email protected]> Fri, 09 May 2008 00:18:08 -0500
Newsgroups gmane.mail.spam.spf.devel
Message-ID <[email protected]>
Scott Kitterman wrote:
> On Wed, 07 May 2008 10:44:46 -0500 Ladar Levison <[email protected]> wrote:
>   
>> I'm seeing a number of segfaults. I believe the issue is that libreplace 
>>     
> is 
>   
>> calling __dn_skipname with identical pointers, but I can't seem to narrow 
>>     
> it 
>   
>> down.
>>     
>
> ...
>
> How are you triggering the fault?
>
> What OS/Distro/version?
>
> Does this happen when you call libspf2 via spfquery or can you provide some 
> reduced test case that demonstrates the problem?
>
> Scott K
>   


The issue appears to occur sporadically with certain domains. One such 
example is yourshirevillage.com, and it, like the others, lists "mx" in 
the SPF record, and then has a couple hundred MX records listed. I 
believe the issue is that a corrupted DNS result is being returned, and 
that's what's triggering the segfault. I haven't been able to figure it 
out completely yet.