[rbldnsd] bug and fix: use unititialized value in rbldnsd

Doc Schneider maddoc at maddoc.net
Sat Apr 16 03:50:47 MSD 2005


Michael Tokarev wrote:

>> Sorry forgot to include the version.
>>
>> 0.994
> 
> 
> In this case (I diffed the patch against exact this version),
> I think it's due to extra carrige-return (CR) characters
> somewhere -- either in the source files, or in the patch
> file you saved from your mail reader.
> 
> If that's the case, you can remove extra CRs, or try patch
> with --ignore-whitespace (-l) argument, or just change
> things manually -- in two files (rbldnsd_ip4set.c and
> rbldnsd_ip4trie.c), change the line that reads
>       dswarn(dsc, "invalid value");
> (there's only one such line in each file) to be just
>       return 1;
> -- this is all what the patch should do.
> 
> /mjt

I saved it again and this time uploaded it and used ASCII and not 
auto--my ftp program got confused--and it patched fine. Thanks for the 
help!

-Doc


More information about the rbldnsd mailing list