http://bugzilla.spamassassin.org/show_bug.cgi?id=3924





------- Additional Comments From [EMAIL PROTECTED]  2004-10-26 14:14 -------
I'm behind a firewall that prevents me from doing any more tests for the day.

What I found out earlier is that the crash is in the call to bgisready, which is
a  Net::DNS routine that takes a socket as argument and queries about it. The
documentation says that once the socket is read (with bgread) it should be
closed or destroyed.

Just a hunch, but if one of you who are seeing the problem can try protecting
the line in URIDNSBL.pm that calls bgisready($ent->{sock}) with a test for
$ent->{sock} being defined

The easy kludgy quick test way is to change the if statement to be

    if ($ent->{sock} && !$self->{res}->bgisready ($ent->{sock})) {

And then a few lines down change
    if ($type eq 'NS') {

to
   if ($ent->{sock}) {
     dbg("uridnsbl: found a bogus socket");
   } elsif ($type eq 'NS') {


Please try this out and see if it makes a difference. This is not a fix, but a
diagnostic test.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to