diff options
author | 2011-11-28 15:38:37 +0100 | |
---|---|---|
committer | 2011-11-28 14:44:38 +0000 | |
commit | 58fb5cf5d1edb7e306574833ee55d732918c89e3 (patch) | |
tree | 56eeb31660956d2795ca068830c603d0d240c34b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | regulator: aat2870: Fix the logic of checking if no id is matched in aat2870_get_regulator (diff) | |
download | wireguard-linux-58fb5cf5d1edb7e306574833ee55d732918c89e3.tar.xz wireguard-linux-58fb5cf5d1edb7e306574833ee55d732918c89e3.zip |
regulator: fix use after free bug
This is caused by dereferencing 'rdev' after device_unregister() in
the regulator_unregister() function. 'rdev' is freed by
device_unregister(), so it must not be dereferenced after this call.
[Edited commit message for legibility -- broonie]
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions