diff options
author | Ashish Pandey <aspandey@redhat.com> | 2017-11-03 15:59:00 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2017-11-05 04:11:37 +0000 |
commit | 1160ded99bf5fcd00bd0230dfc41336af1efbe6b (patch) | |
tree | 4d38eb00ce6f23af16a98502c81f6d2d2abf4f40 /xlators/mgmt/glusterd/src/glusterd-handler.c | |
parent | 0dcd5b2feeeec7c29bd2454d6ad950d094d02b0f (diff) |
cluster/ec: Remove possibility of NULL deref
Coverity ID: 237
Problem: In ec_check_status we are trying to deref fop->answer
which could be NULL.
Solution: Check Null condition before using this pointer.
Change-Id: I4f9a73dc2f062ca9c62b4c4baf0a6fcadade88f2
BUG: 789278
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
0 files changed, 0 insertions, 0 deletions