
scott at kitterman
Mar 9, 2007, 4:42 AM
Post #4 of 12
(2623 views)
Permalink
|
|
Re: segfaults on amd64 platform / read access to bugtracker...
[In reply to]
|
|
On Friday 09 March 2007 07:24, Thomas Jacob wrote: > Sorry for the delay, but ironically, the SPF record for v2.listbox.com > somehow seems to miss the IP of the mailing list sender host, so your > post went straight into my spam box ;-) Odd > > I think that bug tracker is dead. > > So what's the preferred way to submit bug reports and fixes, this list? I'd say this list. > More to the point, given that the last Changelog entry dates > 2004-04-09 and the lastest file in the last release 2005-02-24, > is libspf2 still maintained? Anyone know? The original developer passed it off to a maintainer who vanished into the sunset. The original developer has said he will pick up maintenance again, but has not done so. Part of his reluctance is a lack of high volume/varied mail streams to test against, so if you'd be willing to help out with testing, that might help us get going. > > That bug is also reported in Ubuntu (which I use), but note that it only > > lists the problem as being: > > > > "The milter-greylist (linked with libspf2) segfaults ..." > > > > It's actually a milter-greylist segfault that the reporter believes can > > be attributed to libspf2. > > Yes that's exactly the problem ... Ah. OK. > > I have discussed this patch with the libspf2 developer and he didn't see > > how it could make a difference, but I'm not a C programmer, so I have no > > opinion myself (I was considering submitting the patch to Ubuntu, but > > have not based on the developer's review of the issue). > > Ehmm.. if int is 4 bytes wide, and size_t 8 bytes wide, and then you > are passing a pointer to an int into a function that expects a pointer > to a size_t, then I would say that does make a difference, as the > function will be reading/writing an extra 4 bytes of data which might be > anything. As I said, I'm not a C programmer. > As happens in this case as the buffer length suddenly is gigabytes > instead of a couple of bytes. > > > In the Ubuntu build system libspf2 builds successfully on amd64: > > > > https://launchpad.net/+builds/+build/127675 > > This is the same source package as in Debian proper, and building > the package is not the problem, the segfault occurs when using the > library > (incidentally also when using the spfquery tool directly)... OK. > Anyway I've written a patch that fixes these issues, > and also have a modified Debian source package for libspf2 that > contains this patch, and I will submit this to the Debian > bugtracker once it has been successfully introduced into > our production system next week ... > > If you're interested I can mail you the patch, it would be > great if you could test whether it works for you as well... Sounds good. I'm not in a position to test it, but if you are quick I can probably get it into the next Ubuntu release. Beta freeze is March 15 and the RC freeze is a couple of weeks after that, so the sooner the better if you are confident. Scott K ------- To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?list_id=1007
|