[lxc-devel] [lxc/lxc] cd5f35: attach: prevent UAF

Stéphane Graber noreply at github.com
Mon Feb 1 22:13:56 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: cd5f35ec672934165c20298b2c33f493033267f2
      https://github.com/lxc/lxc/commit/cd5f35ec672934165c20298b2c33f493033267f2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: prevent UAF

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


  Commit: 52ed870ed05a5d046d3754db94898b86ddfa2eb9
      https://github.com/lxc/lxc/commit/52ed870ed05a5d046d3754db94898b86ddfa2eb9
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: use correct put method

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


  Commit: 570e1173387dba2a173ace8fbab350655599349e
      https://github.com/lxc/lxc/commit/570e1173387dba2a173ace8fbab350655599349e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/commands_utils.c

  Log Message:
  -----------
  commands_utils: don't leak memory

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


  Commit: 62fef886dcdb18c0b2427ce45c906fd3cb2002fe
      https://github.com/lxc/lxc/commit/62fef886dcdb18c0b2427ce45c906fd3cb2002fe
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: use lxc_log_trace()

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


  Commit: 4ac35afb78de15e87e0c91c12675ac34b57f9225
      https://github.com/lxc/lxc/commit/4ac35afb78de15e87e0c91c12675ac34b57f9225
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/confile_utils.c

  Log Message:
  -----------
  confile_utils: use lxc_log_trace()

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


  Commit: c7d644983ff4817c93ff3f0ff96be6015dda3e6a
      https://github.com/lxc/lxc/commit/c7d644983ff4817c93ff3f0ff96be6015dda3e6a
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/attach.c
    M src/lxc/commands_utils.c
    M src/lxc/conf.c
    M src/lxc/confile_utils.c

  Log Message:
  -----------
  Merge pull request #3645 from brauner/2021-02-01/fixes_4

attach: bugfixes


Compare: https://github.com/lxc/lxc/compare/32947602fd7b...c7d644983ff4


More information about the lxc-devel mailing list