]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
use correct number of ttys during setup
authorSven Wegener <sven.wegener@stealer.net>
Thu, 26 Nov 2009 15:46:23 +0000 (16:46 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 26 Nov 2009 15:46:23 +0000 (16:46 +0100)
commite4e7d59db88478186188024c78f76066dad1e733
treec8e166b50bff8e52bedd336af8e62474ea7dbb34
parent6ab9ab6d08205faa314b91a2235585bc53b2ad29
use correct number of ttys during setup

commit 985d15b106c8959ff130ba5425c2abbe36dc2cca "fix fdleak and errors
in lxc_create_tty()" created a zero-sized malloc(), causing memory
corruption. use config->tty like all the other code does.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c