summaryrefslogtreecommitdiffstats
path: root/events
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2019-07-11 16:52:49 +0530
committerPranith Kumar K <pkarampu@redhat.com>2020-02-25 12:34:17 +0530
commit64c9628da16cf0722d809e6c9adb7bc8d6fd7f1e (patch)
tree592ff2abf33eb2534af9973f42b533dfb186ba28 /events
parent9013328774c87d8a32ff80e78f6478e22c5157b9 (diff)
cluster/ec: Change handling of heal failure to avoid crash
Problem: ec_getxattr_heal_cbk was called with NULL as second argument in case heal was failing. This function was dereferencing "cookie" argument which caused crash. Solution: Cookie is changed to carry the value that was supposed to be stored in fop->data, so even in the case when fop is NULL in error case, there won't be any NULL dereference. Thanks to Xavi for the suggestion about the fix. Change-Id: I0798000d5cadb17c3c2fbfa1baf77033ffc2bb8c fixes: bz#1805057
Diffstat (limited to 'events')
0 files changed, 0 insertions, 0 deletions