From: Rinat Bikov <becase@xxxxxxxxxxxx> Commit 9274e94d introduce dynamic buffering for gids lists. In that patch there was a bug that only used the dynamic length on the first call, resulting in the dynamic length not being dynamic at all. Reported-by: Rinat Bikov <becase@xxxxxxxxxxxx> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- utils/mountd/cache.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 0c4a03d..6084893 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -147,8 +147,9 @@ static void auth_unix_gid(FILE *f) if (!groups) return; - groups_len = ngroups = INITIAL_MANAGED_GROUPS; + groups_len = INITIAL_MANAGED_GROUPS; } + ngroups = groups_len; if (readline(fileno(f), &lbuf, &lbuflen) != 1) return; -- 1.7.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html