Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 13:31:03 -0400
From:      Andrew Boyer <aboyer@averesystems.com>
To:        Current FreeBSD <freebsd-current@freebsd.org>
Cc:        Greg Bednarek <gbednarek@averesystems.com>
Subject:   Fwd: Memory leak in authunix_create_default()...
Message-ID:  <A36F8327-BD58-4904-99C7-FEB893FE3561@averesystems.com>
References:  <3C479FEC-971A-4099-9CA5-B522574BE763@averesystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Begin forwarded message:

> From: Greg Bednarek <gbednarek@averesystems.com>
> Date: April 16, 2012 10:54:33 AM EDT
> To: freebsd-current@freebsd.org
> Cc: Andrew Boyer <aboyer@averesystems.com>
> Subject: Memory leak in authunix_create_default()...
>=20
>=20
> Please see the attached patch for a proposed fix for a memory leak in =
authunix_create_default().
>=20
> The leak appears to have been introduced 6/19/2009 in Revision 194494 =
of lib/libc/rpc/auth_unix.c
>=20
> As you can see form the patch, the fix is very simple. The issue was =
discovered when tracking down some rather drastic increases in =
application memory footprint during certain types of workloads, and was =
eventually traced it to this (apparently) not very heavily used path in =
libc.
>=20
> I would appreciate hearing any comments/concerns with the proposed =
fix.
>=20
>=20
>=20
> Regards,
>=20
> Greg Bednarek
>=20
>=20
> ---
> Greg Bednarek
> phone: 412-635-7170 x257
> fax:        412-635-7171
> email: gbednarek@averesystems.com
>=20
>=20
>=20
>=20
>=20

This got caught up in moderation and never reached the list.

-Andrew

--------------------------------------------------
Andrew Boyer	aboyer@averesystems.com







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A36F8327-BD58-4904-99C7-FEB893FE3561>