Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 107090814711dbafa6047ead07c4dec17499a517
      https://github.com/lxc/lxc/commit/107090814711dbafa6047ead07c4dec17499a517
  Author: Serge Hallyn <[email protected]>
  Date:   2014-06-27 (Fri, 27 Jun 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgm_get: make sure @value is null-terminated

Previously this was done by strncpy, but now we just read
the len bytes - not including \0 - from a pipe, so pre-fill
@value with 0s to be safe.

This fixes the python3 api_test failure.

Signed-off-by: Serge Hallyn <[email protected]>


_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to