[lxc-devel] [lxc/lxc] b9f804: getgrgid_r fails with ERANGE if buffer is too smal...

Christian Brauner noreply at github.com
Tue Jun 4 08:50:00 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b9f80409d70ea0ff6d8dcf028aa701bee5bd48d7
      https://github.com/lxc/lxc/commit/b9f80409d70ea0ff6d8dcf028aa701bee5bd48d7
  Author: Alexander Kriventsov <akriventsov at nic.ru>
  Date:   2019-06-03 (Mon, 03 Jun 2019)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c
    M src/lxc/utils.h

  Log Message:
  -----------
  getgrgid_r fails with ERANGE if buffer is too small. Retry with a larger buffer.

Signed-off-by: Alexander Kriventsov <akriventsov at nic.ru>


  Commit: 1eaa8c428a5d81c256246a375f634be0273a72d2
      https://github.com/lxc/lxc/commit/1eaa8c428a5d81c256246a375f634be0273a72d2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-06-04 (Tue, 04 Jun 2019)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c
    M src/lxc/utils.h

  Log Message:
  -----------
  Merge pull request #3024 from avkvl/fix_groups_with_a_lot_of_members

lxc-user-net: Failed to convert string " Failed to get group name" to integer


Compare: https://github.com/lxc/lxc/compare/3e8a11cb1c2f...1eaa8c428a5d


More information about the lxc-devel mailing list