This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix handling of netgroup cache in nscd
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 10 Jun 2013 21:39:16 +0200
- Subject: Re: [PATCH] Fix handling of netgroup cache in nscd
- References: <mvmli6i813p dot fsf at hawking dot suse dot de>
On 06/10/2013 04:57 PM, Andreas Schwab wrote:
The netgroup cache didn't handle partial netgroup triples, where absent
values are represented by NULL. Additionally, nscd expects that the key
length includes the terminating zero, for keys that are strings, which
was violated by the netgroup client code. For robustness, nscd should
zero-terminate the key itself, too.
Thanks, looks fine,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126