aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorYufen Yu <[email protected]>2019-04-02 14:22:14 +0800
committerSong Liu <[email protected]>2019-04-10 15:26:08 -0700
commitee37e62191a59d253fc916b9fc763deb777211e2 (patch)
tree09696aa3b9f5d4736149fa19fd8427e80ed858a0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent0d413829bd20d5563c2c3287479a7348810cb13f (diff)
md: add mddev->pers to avoid potential NULL pointer dereference
When doing re-add, we need to ensure rdev->mddev->pers is not NULL, which can avoid potential NULL pointer derefence in fallowing add_bound_rdev(). Fixes: a6da4ef85cef ("md: re-add a failed disk") Cc: Xiao Ni <[email protected]> Cc: NeilBrown <[email protected]> Cc: <[email protected]> # 4.4+ Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Yufen Yu <[email protected]> Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions