aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2018-06-12 12:43:35 +0000
committerBorislav Petkov <[email protected]>2018-06-18 11:26:05 +0000
commit6c974d4dfafe5e9ee754f2a6fba0eb1864f1649e (patch)
tree11dc79e35c192a794f6e36e996651f727e5507d0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentEDAC: Fix memleak in module init error path (diff)
downloadkernel-6c974d4dfafe5e9ee754f2a6fba0eb1864f1649e.tar.gz
kernel-6c974d4dfafe5e9ee754f2a6fba0eb1864f1649e.zip
EDAC, i7core: Fix memleaks and use-after-free on probe and remove
Make sure to free and deregister the addrmatch and chancounts devices allocated during probe in all error paths. Also fix use-after-free in a probe error path and in the remove success path where the devices were being put before before deregistration. Signed-off-by: Johan Hovold <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: linux-edac <[email protected]> Fixes: 356f0a30860d ("i7core_edac: change the mem allocation scheme to make Documentation/kobject.txt happy") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions