Mailing List Archive

Patch
Hi there,

I noticed that spf_example.c can cause libspf2-1.2.8 to segfault, so I
inserted the following line:

SPF_ASSERT_NOTNULL(rcpt_to);

at line 348 of spf_request.c to check for a null pointer.

--

73,
Ged.


-------------------------------------------
Sender Policy Framework: http://www.openspf.org
Modify Your Subscription: http://www.listbox.com/member/
Archives: https://www.listbox.com/member/archive/735/=now
RSS Feed: https://www.listbox.com/member/archive/rss/735/
Powered by Listbox: http://www.listbox.com
Re: Patch [ In reply to ]
On Monday 10 November 2008 11:51, G.W. Haywood wrote:
> Hi there,
>
> I noticed that spf_example.c can cause libspf2-1.2.8 to segfault, so I
> inserted the following line:
>
> SPF_ASSERT_NOTNULL(rcpt_to);
>
> at line 348 of spf_request.c to check for a null pointer.
>
There's a 1.2.9 release on libspf2.org. Does it suffer from the same problem?

Scott K


-------------------------------------------
Sender Policy Framework: http://www.openspf.org
Modify Your Subscription: http://www.listbox.com/member/
Archives: https://www.listbox.com/member/archive/735/=now
RSS Feed: https://www.listbox.com/member/archive/rss/735/
Powered by Listbox: http://www.listbox.com