[rbldnsd] bug and fix: use unititialized value in rbldnsd
Michael Tokarev
mjt at tls.msk.ru
Sat Apr 16 03:45:11 MSD 2005
Doc Schneider wrote:
>>>> --- rbldnsd_ip4set.c 13 Dec 2004 01:22:31 -0000 1.39
>>>> +++ rbldnsd_ip4set.c 15 Apr 2005 21:43:12 -0000
[]
>>> patching file `rbldnsd_ip4set.c'
>>> Hunk #1 FAILED at 128.
>>> 1 out of 1 hunk FAILED -- saving rejects to rbldnsd_ip4set.c.rej
[]
> 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
More information about the rbldnsd
mailing list