commit | 38202c59ad10fbe4f9f73e072400d89facb9f543 | [log] [download] |
---|---|---|
author | Alexey Dobriyan <adobriyan@sw.ru> | Fri May 18 16:34:53 2007 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri May 18 16:34:53 2007 +0400 |
tree | 8b8a29ab0b2dddafc26a79e15148515a9903dbe3 | |
parent | 3c4d0f1e7ff4d5e9cd6e463acf8708c00a6c030b [diff] |
vzctl: don't store garbage in store_name()/PARAM_NAME case PARAM_NAME: branch in store_name() adds uninitialized buffer from stack to config. But it doesn't have to: conf_store_str() one line above already did everything. Closes http://bugzilla.openvz.org/show_bug.cgi?id=579 Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org> Acked-by: Kir Kolyshkin <kir@openvz.org