summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2019-07-11 18:57:13 +0800
committerhari gowtham <hari.gowtham005@gmail.com>2020-02-25 06:47:20 +0000
commitf7074a8fd13bd39a8dddc4b29bcab3226197413a (patch)
tree4aff5e418a70bbbd5cb1271dc2acb5454e6a82c0 /contrib
parent6b99346d1049befa4ae9ad14bc9dd81fb014e885 (diff)
cluster/ec: skip updating ctx->loc again when ec_fix_open/opendir
The ec_manager_open/opendir memsets ctx->loc which causes memory/inode leak, and ec_fheal uses ctx->loc out of fd->lock that loc_copy may copy bad data when memset it. This patch skips updating ctx->loc when it is initilizaed. With it, ctx->loc is filled once, and never updated. Change-Id: I3bf5ffce4caf4c1c667f7acaa14b451d37a3550a fixes: bz#1805052 Signed-off-by: Kinglong Mee <mijinlong@horiscale.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions