Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2003 19:37:31 -0600
From:      David Leimbach <leimy2k@mac.com>
To:        freebsd-standards@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   error in nsdispatch.c
Message-ID:  <8D9D58E8-3E2A-11D7-8396-0003937E39E0@mac.com>

next in thread | raw e-mail | index | archive | help
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?

I have been having trouble writing to standards... sending to current.

Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8D9D58E8-3E2A-11D7-8396-0003937E39E0>