[Pdns-dev] Bug in pdns_recursor (pdns 2.9.9)
bert hubert
ahu at ds9a.nl
Mon Jun 23 01:00:04 CEST 2003
On Sun, Jun 22, 2003 at 11:11:30PM +0200, Christof Meerwald wrote:
> Hi,
>
> pdns/pdns_recursor.cc (line 47)
> pthread_t pthread_self(void){pthread_t tmp; return tmp;}
>
> returning an uninitialized local variable is a very bad idea (and results in
> empty lines being written to syslog).
This function is never called - it is only a bogus function to satisfy an
unused dependency. If it is ever called, it is a problem.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
More information about the Pdns-dev
mailing list