This is the mail archive of the
mailing list for the glibc project.
Re: [patch] Fix [BZ#14122] memory leak in nss_parse_service_list
On Mon, May 21, 2012 at 12:48 PM, Andreas Jaeger <firstname.lastname@example.org> wrote:
> Could you add a test case as well, please?
I am not sure how to do that.
In order to replicate the leak in BZ#14122, I had to muck about with
/etc/nsswitch.conf (and actually managed to lock myself out of the system
in the process :-)
Is there a way to inject "mock" /etc/nsswitch.conf for a test?