diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-06-29 19:56:00 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-08-02 15:16:30 -0400 |
commit | 7522c03ae307e657114ff909aec650304371a134 (patch) | |
tree | 9c37bee66e0044d8a2c3b0dfc68810bb7942b9b7 /scripts | |
parent | 47c1856971dd05cac730f70d073518da021b2e5c (diff) | |
download | linux-7522c03ae307e657114ff909aec650304371a134.tar.gz linux-7522c03ae307e657114ff909aec650304371a134.tar.bz2 linux-7522c03ae307e657114ff909aec650304371a134.zip |
tracing: Fix use-after-free in hist_register_trigger()
This fixes a use-after-free case flagged by KASAN; make sure the test
happens before the potential free in this case.
Link: http://lkml.kernel.org/r/48fd74ab61bebd7dca9714386bb47d7c5ccd6a7b.1467247517.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions