Re: [systemd-devel] [PATCH] nspawn: Fix erroneous OOM when building group list

2014-04-10 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Apr 09, 2014 at 07:08:45PM +0200, Philip Lorenz wrote: change_uid_gid() never initialises sz which may cause greedy_realloc to skip the initial buffer allocation. Applied, thanks. Zbyszek ___ systemd-devel mailing list

[systemd-devel] [PATCH] nspawn: Fix erroneous OOM when building group list

2014-04-09 Thread Philip Lorenz
change_uid_gid() never initialises sz which may cause greedy_realloc to skip the initial buffer allocation. --- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 84724d5..0bd52da 100644 --- a/src/nspawn/nspawn.c