[lxc-devel] [lxc/lxc] 20b880: network: fix socket handle leak

GitHub noreply at github.com
Mon May 28 15:10:20 UTC 2018


  Branch: refs/heads/stable-3.0
  Home:   https://github.com/lxc/lxc
  Commit: 20b88030f67813f6019b238f0e076bda6475b5c2
      https://github.com/lxc/lxc/commit/20b88030f67813f6019b238f0e076bda6475b5c2
  Author: Donghwa Jeong <dh48.jeong at samsung.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: fix socket handle leak

Signed-off-by: Donghwa Jeong <dh48.jeong at samsung.com>


  Commit: 79616f3b5d9b4e96a02038406e2be93481b60b53
      https://github.com/lxc/lxc/commit/79616f3b5d9b4e96a02038406e2be93481b60b53
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: do not init ns_clone_flags to -1

ns_clone_flags is used as a bitmask so initializing it to -1 is a bad idea.

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


  Commit: f5825bc9226029bfdab1336c026448c48ab31804
      https://github.com/lxc/lxc/commit/f5825bc9226029bfdab1336c026448c48ab31804
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: ensure lxc_delete_tty() does not crash

We need to make sure that the ttys are actually initialized otherwise deleting
them is not safe.

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


Compare: https://github.com/lxc/lxc/compare/6bbfd89415ec...f5825bc92260
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list