commit | f9ee748d829f771c21628c26cae99bd95e047f84 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed May 22 17:29:07 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed May 22 17:29:07 2013 -0700 |
tree | ca38895f740bfe035b4cdeff4245ade1d3c4ec01 | |
parent | 6800818116e42bdbdd64d24d7eb8772730dcc652 [diff] |
_env_create(): don't pass -1 to close arg->userns_p can be -1, so check it before passing to close() Reported by Coverity, CID 1025650. Signed-off-by: Kir Kolyshkin <kir@openvz.org>