diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2020-05-03 09:59:41 +0530 |
---|---|---|
committer | Pranith Kumar K <pkarampu@redhat.com> | 2020-05-03 10:16:19 +0530 |
commit | 29d6b944b91df982f10581b0c17004089358e88c (patch) | |
tree | 8a3ce106ee4a8efc937c731f5838fbb534f85f71 /glusterfsd | |
parent | c8d733c3ed39f297d0f56052c6dc4d02aecdbc4d (diff) |
cluster/dht: Don't access local after STACK_DESTROY
There is a possibility that 'frame' could have been
destroyed in dht_selfheal_dir_setattr() which can
lead to local->mds_heal_fresh_lookup showing junk
non-zero number. That will lead to double
STACK_DESTROY. Remembered the value of the variable
before the call to fix the access.
Fixes: #1214
Change-Id: I37d1657798bfb549bb3887e260484d58fff42c91
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions