]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: ensure lxc_delete_tty() does not crash 2358/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 28 May 2018 13:10:19 +0000 (15:10 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 28 May 2018 13:33:28 +0000 (15:33 +0200)
commit386e676854f56268fae34cd84babae983c0d7f2e
tree9aa133f7b7699efa8f2f270fbbee6ad2ab44e2cb
parentf3815517f22d39fbd3458f8559467c947b1e291b
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@ubuntu.com>
src/lxc/conf.c