commit | fc1f135703961e209f56e56a738284aeabd20839 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Apr 20 17:19:38 2015 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Apr 20 17:19:38 2015 -0700 |
tree | 139e2633ae558aed96e6af5f131f50e7b0dfd86d | |
parent | 1a89ea43a652d3e3e839606d20f23888fcf58894 [diff] |
vzctl set --devices: fix SIGSEGV This is caused by the commit c2a48a7e. Note add_dev_param() is called from parse_devices_str() in which name is not set, so we shouldn't blindly use strdup(). https://bugzilla.openvz.org/3189 Reported-by: Devon <devon.b@virtualcomplete.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>