error in nsdispatch.c

2003-02-11 Thread David Leimbach
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

Re: error in nsdispatch.c

2003-02-11 Thread Max Khon
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

Re: error in nsdispatch.c

2003-02-11 Thread David Leimbach
Bug? no. static variables are initialized with all-zeroes. Groovy... /me goes to buy electronic ANSI C standard :P Dave /fjoe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message