From sacadmin Thu Nov 23 08:55:03 2006
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id kANGt3xR000542;
	Thu, 23 Nov 2006 08:55:03 -0800 (PST)
Received: (from darrenm@localhost)
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6/Submit) id kANGt3pf000538;
	Thu, 23 Nov 2006 08:55:03 -0800 (PST)
Date: Thu, 23 Nov 2006 08:55:03 -0800 (PST)
From: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Message-Id: <200611231655.kANGt3pf000538@sac.sfbay.sun.com>
To: PSARC@sac.sfbay.sun.com
Cc: Stacey.Marshall@Sun.COM
Subject: addition of res_ndestroy() to libresolv.so.2 [PSARC/2006/658 Timeout:  11/23/2006]
Status: RO
Content-Length: 1438

Subject: PSARC FastTrack [11/23/2006]: addition of res_ndestroy() to libresolv.so.2

I am sponsoring this fasttrack for Stacey Marshall. Given the trivial
nature of change, I am going to close approved automatic unless I hear
otherwise.

Template Version: @(#)sac_nextcase %I% %G% SMI

1. Introduction
    1.1. Project/Component Working Name:
	 addition of res_ndestroy() to libresolv.so.2
    1.2. Name of Document Author/Supplier:
	 Author:  Stacey Marshall
    1.3  Date of This Document:
	23 November, 2006
4. Technical Description

Problem:

Libresolv leeks memory as there is no public interface to release it.

Details:

Function res_ninit() dynamically extends the res_state structure by
allocating additional memory and storing the address in a previously
unused and undocumented portion of res_state.  Currently there is no
formal way to free this resource when it is no longer required.

Proposal:

In line with the ISC we will make res_ndestroy() a public interface and
document it accordingly.

Affected interfaces:

Interface            Stability        Comments
================================================================================
res_ndestroy()       Volatile        As provided by the ISC


Release binding: patch.

Man page changes in case directory.


6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack

