[lxc-devel] [lxc/lxc] a7b0cc: cgroups: prevent segfault in cgfsng

GitHub noreply at github.com
Thu Nov 17 16:48:07 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a7b0cc4c9181b2c9b4952f34a41def5a41f09a48
      https://github.com/lxc/lxc/commit/a7b0cc4c9181b2c9b4952f34a41def5a41f09a48
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: prevent segfault in cgfsng

When we set LXC_DEBUG_CGFSNG=1 we print out info about detected cgroup
hierarchies. When there's no named cgroup mounted we need to make sure that we
don't try to index an unallocated pointer.

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: 122aaf509465bfbf23bb177ffb532d30a3b619f1
      https://github.com/lxc/lxc/commit/122aaf509465bfbf23bb177ffb532d30a3b619f1
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  Merge pull request #1305 from brauner/2016-11-16/cgfsng_debug

cgroups: prevent segfault in cgfsng


Compare: https://github.com/lxc/lxc/compare/67c933b6f869...122aaf509465


More information about the lxc-devel mailing list