From owner-freebsd-current Tue Feb 11 17:37:37 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E389537B401; Tue, 11 Feb 2003 17:37:35 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3901D43FBF; Tue, 11 Feb 2003 17:37:35 -0800 (PST) (envelope-from leimy2k@mac.com) Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h1C1bZJ4024483; Tue, 11 Feb 2003 17:37:35 -0800 (PST) Received: from mac.com ([66.156.161.135]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id HA69UM00.JAG; Tue, 11 Feb 2003 17:37:34 -0800 Date: Tue, 11 Feb 2003 19:37:31 -0600 Subject: error in nsdispatch.c Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: freebsd-current@freebsd.org To: freebsd-standards@freebsd.org From: David Leimbach Content-Transfer-Encoding: 7bit Message-Id: <8D9D58E8-3E2A-11D7-8396-0003937E39E0@mac.com> X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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