[lxc-devel] [lxc/lxc] acf47e: cast NULL pointers passed to execl*()

GitHub noreply at github.com
Fri Feb 19 19:01:01 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: acf47e1b5fce0c6c8ca425d986c03a71fcfe0a7e
      https://github.com/lxc/lxc/commit/acf47e1b5fce0c6c8ca425d986c03a71fcfe0a7e
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/lxc/attach.c
    M src/lxc/bdev/bdev.c
    M src/lxc/bdev/lxclvm.c
    M src/lxc/bdev/lxcnbd.c
    M src/lxc/bdev/lxcrbd.c
    M src/lxc/bdev/lxczfs.c
    M src/lxc/network.c

  Log Message:
  -----------
  cast NULL pointers passed to execl*()

NULL pointers passed to execl*() functions must be cast to (char *)NULL since
they are variadic functions.

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>


  Commit: ef95dc011ed1b12de324524831f321bc29526b2b
      https://github.com/lxc/lxc/commit/ef95dc011ed1b12de324524831f321bc29526b2b
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/lxc/attach.c
    M src/lxc/bdev/bdev.c
    M src/lxc/bdev/lxclvm.c
    M src/lxc/bdev/lxcnbd.c
    M src/lxc/bdev/lxcrbd.c
    M src/lxc/bdev/lxczfs.c
    M src/lxc/network.c

  Log Message:
  -----------
  Merge pull request #826 from brauner/2016-02-19/exec_cast_null

cast NULL pointers passed to execl*()


Compare: https://github.com/lxc/lxc/compare/d89da6bf6e80...ef95dc011ed1


More information about the lxc-devel mailing list