Mailing List Archive

Bug in libspf 0.23
I've just discovered a bug in 0.23 which will cause either sendmail or
qmail to crash randomly if the end result is ~. I have already
implemented a fix and its working fine. I will be releasing 0.24 as
soon as possible, hopefully this afternoon, its taking longer than I
expected due to several patches I am trying to integrate and work
through from Patrick Earl and a could others. The best fix until then
is to set spfaction to 0, OR disable header rewriting as this is where
the bug exists.

Or if you are particularly diligent:

*** libspf.23/header.c Sat Feb 7 23:16:22 2004
--- libspf.24/header.c Tue Feb 10 10:29:01 2004
*************** char *SPF_build_header(peer_info_t *peer
*** 90,92 ****
snprintf(buf, MAX_HEADER, peer_info->spf_result[SPF_S_FAIL].h,
! peer_info->mta_hname, peer_info->from, peer_info->r_ip);
break;
--- 90,93 ----
snprintf(buf, MAX_HEADER, peer_info->spf_result[SPF_S_FAIL].h,
! peer_info->mta_hname, peer_info->from, peer_info->r_ip,
! peer_info->mta_hname, peer_info->r_ip, peer_info->from);
break;

Cheers,

James

--
James Couzens,
Programmer

Current projects:
http://libspf.org

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname@Ï#ÄÏÉæGã!'Rzš´ˆ»£‡Æ~3com