[rbldnsd] [patch] getnameinfo() fails on Solaris 9

Leandro Santi lesanti at uolsinectis.com.ar
Thu Jan 22 01:01:44 MSK 2004


Hi,

It seems that getnameinfo() fails on (at least) Solaris 9, but rbldnsd
doesn't test for failure.

Older, or unpatched revisions of the system are hiding this problem,
because both host and serv params are left with useful, and apparently
correct information upon getnameinfo() failure.

Newer, up-to-date systems, on the other hand, won't fill neither host
or serv when getnameinfo() fails (this will just make rbldnsd print
some garbage at daemon startup).

patch: http://webs.sinectis.com.ar/lesanti/misc/rbldnsd-0.991-getnameinfo.patch

Comments ?

Thanks [for rbldnsd] ;)
Leandro


More information about the rbldnsd mailing list