Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 3d54b7001e918f5b64cfc684fd441b929de32100
      https://github.com/lxc/lxc/commit/3d54b7001e918f5b64cfc684fd441b929de32100
  Author: Wolfgang Bumiller <[email protected]>
  Date:   2017-04-16 (Sun, 16 Apr 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: less error prone pointer access

These functions define pointer to their key shifted by a
number and guard access to it later via another variable.
Let's make this more explicit (and additionally have the
pointer be NULL in the case where it is not supposed to be
used).

Signed-off-by: Wolfgang Bumiller <[email protected]>


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

Reply via email to