hi, there!

On Tue, Feb 11, 2003 at 07:37:31PM -0600, David Leimbach wrote:

> There is a potential bug in src/lib/libc/net/nsdispatch.c
> 
> in the function
> const ns_dbt * _nsdbtget(const char * name).
> 
> The static variable
> 
> static time_t confmod;
> 
> is not initialized to anything.
> 
> It may have some random value the first time this function is called and
> if you look at the program logic its the first value tested as well and 
> it controls a lot of deallocation via "free".
> 
> Bug?

no. static variables are initialized with all-zeroes.

/fjoe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to