[lxc-devel] [lxc/lxc] ab7efc: check for NULL pointers before calling setenv()

GitHub noreply at github.com
Thu Aug 27 20:22:15 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ab7efcf51d369a4dae93c14653f6519fc5ec4d47
      https://github.com/lxc/lxc/commit/ab7efcf51d369a4dae93c14653f6519fc5ec4d47
  Author: Robert Schiele <rschiele at gmail.com>
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/start.c

  Log Message:
  -----------
  check for NULL pointers before calling setenv()

Latest glibc release actually honours calling setenv with a NULL
pointer by causing SIGSEGV but checking pointers before submitting
to any system function is a good idea anyway.

Signed-off-by: Robert Schiele <rschiele at gmail.com>


  Commit: 66b62e24ec108aa0ebeba0ccf78183b09284c6a6
      https://github.com/lxc/lxc/commit/66b62e24ec108aa0ebeba0ccf78183b09284c6a6
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2015-08-27 (Thu, 27 Aug 2015)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #638 from schiele/master

check for NULL pointers before calling setenv()


Compare: https://github.com/lxc/lxc/compare/e54864d3632e...66b62e24ec10


More information about the lxc-devel mailing list