summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-helpers.c
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2017-02-23 22:57:42 +0100
committerJeff Darcy <jeff@pl.atyp.us>2017-05-04 14:59:29 +0000
commit7c98143c7928f4ec936c90f0125b2a2aaf8f5174 (patch)
tree757a5f799b9ec3caf555b5b1df7db72260cd071e /xlators/storage/posix/src/posix-helpers.c
parent5c68937ef943a5ed8179cb19fef833f2be790588 (diff)
mgmt: Fix null pointer deref
since "this" can be NULL, we should skip this validation, there is another call to GF_VALIDATE_OR_GOTO in the following lines. Found by cppcheck. Change-Id: I329f50b986a9eaf3315e09f851080ab41bea57c0 BUG: 789278 Signed-off-by: Michael Scherer <misc@redhat.com> Reviewed-on: https://review.gluster.org/16742 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us> Tested-by: Jeff Darcy <jeff@pl.atyp.us> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/storage/posix/src/posix-helpers.c')
0 files changed, 0 insertions, 0 deletions