OpenSolaris

Printable Version Enter a New Search
Bug ID 6673604
Synopsis libshare_smbfs initprotofromdefaults() leaks memory
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:smbfs
Keywords
Responsible Engineer Gordon Ross
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105)
Related Bugs 6671768 , 6757521 , 6759818
Submit Date 11-March-2008
Last Update Date 17-December-2008
Description
initprotofromdefaults() creates 'protoset' but never frees it.
'nuff said.
I talked to Eric, and it turns out that to reproduce this leak,
one needs to call this seqence of functions more than once:
  sa_init()
  ... whatever
  sa_fini()
The sharetcl command only does this once, so I wrote a little
test program that calls the above sequence twice.  That does
demonstrate the leak (via umem_debug).  I how have a way to
verify whether this leak is fixed or not.
Work Around
N/A
Comments
N/A