Commit 1aaeb739 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by sanglipeng
Browse files

perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents

stable inclusion
from stable-v5.10.180
commit 604b650fb5742d8a1e654786372473ca3838f2be
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=604b650fb5742d8a1e654786372473ca3838f2be



--------------------------------

[ Upstream commit 57f14b5a ]

An audit showed just this one problem with zfree(), fix it.

Fixes: 9fbc61f8 ("perf pmu: Add support for PMU capabilities")
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 2273937e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment