diff options
author | nik-redhat <nladha@redhat.com> | 2020-07-03 17:18:33 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2020-07-08 05:28:05 +0000 |
commit | 24ea814fe7d5a5d27fa051d20ab85bc18c051bdc (patch) | |
tree | 3cdf25d04bbacf9ed97083b4afe8b6659765e1ee /xlators/mgmt/glusterd/src/glusterd-volgen.c | |
parent | 0a2de3f7f9aafadf0b20197eae2be96275271b97 (diff) |
afr: null dereference & nagative value
Added a check for NULL before dereferencing
the object as it may be NULL in few cases
inside the funtion. Also, added a check for
the negative value of gfid_idx.
CID: 1430140
CID: 1430145
Change-Id: Ib7d23459b48bbc471dbcccab6d20572261882d11
Updates: #1060
Signed-off-by: nik-redhat <nladha@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
0 files changed, 0 insertions, 0 deletions