[lxc-devel] [lxc/lxc] e00c02: conf: set pty_info to NULL after free

GitHub noreply at github.com
Thu Jul 28 14:52:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: e00c024230e457a0f37ea5c90bd8caac0c30020e
      https://github.com/lxc/lxc/commit/e00c024230e457a0f37ea5c90bd8caac0c30020e
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2016-07-28 (Thu, 28 Jul 2016)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: set pty_info to NULL after free

This fixes a double free corruption on container-requested
reboots when lxc_spawn() fails before receiving the ttys, as
lxc_fini() (part of __lxc_start()'s cleanup) calls
lxc_delete_tty().

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: c0befcbecde90053fad0775fb62f30e06fd948da
      https://github.com/lxc/lxc/commit/c0befcbecde90053fad0775fb62f30e06fd948da
  Author: Christian Brauner <cbrauner at suse.de>
  Date:   2016-07-28 (Thu, 28 Jul 2016)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Merge pull request #1106 from Blub/next

conf: set pty_info to NULL after free


Compare: https://github.com/lxc/lxc/compare/11b09c7afffe...c0befcbecde9


More information about the lxc-devel mailing list