commit | 73651a6246ce3aa149311c6e52c39c81db5bf27a | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Aug 07 03:18:01 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Aug 07 03:18:01 2012 +0400 |
tree | 681032883d1af0dc9ed17b05bf612b52fe3c2707 | |
parent | 22086cb4488d1b6c761e24f1d0ad9f9a85a0ff8e [diff] |
vzlist: initialize p_buf = e_buf = NULL in json mode Prevent printing to p_buf when using json. In case any (future) code will ever do this, it will immediately segfault right there. This is to catch issues similar to one fixed by previous commit early. Signed-off-by: Kir Kolyshkin <kir@openvz.org>