commit | 78af7f6ffbc6c3ef84b8f7ac6ecc64bb941d8d5a | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed May 22 17:53:56 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed May 22 17:53:56 2013 -0700 |
tree | 57e807956507c58d3a918aad5a20512ee0328db2 | |
parent | 944aaef6d18fc8ea5a8d50c4393145550094a1b5 [diff] |
check_local_ugid(): fix potential NULL dereference Indeed, we check uid || gid for non-NULL in if condition, but then dereference them both. Fix by using ?: operator. Reported by Coverity, CID 1025651. Signed-off-by: Kir Kolyshkin <kir@openvz.org>