]> git.ipfire.org Git - thirdparty/lxc.git/commit
getgrgid_r fails with ERANGE if buffer is too small. Retry with a larger buffer. 3024/head
authorAlexander Kriventsov <akriventsov@nic.ru>
Mon, 3 Jun 2019 15:11:56 +0000 (18:11 +0300)
committerAlexander Kriventsov <akriventsov@nic.ru>
Mon, 3 Jun 2019 15:11:56 +0000 (18:11 +0300)
commitb9f80409d70ea0ff6d8dcf028aa701bee5bd48d7
tree4fef98ca3d6a0d1f36c84cbe823e9c2a159e552b
parent3e8a11cb1c2fe8c9f44e7ecc6f8f378d1e09fab9
getgrgid_r fails with ERANGE if buffer is too small. Retry with a larger buffer.

Signed-off-by: Alexander Kriventsov <akriventsov@nic.ru>
src/lxc/cmd/lxc_user_nic.c
src/lxc/utils.h