aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2010-07-20 08:49:20 +0200
committerHerbert Xu <[email protected]>2010-07-26 14:13:58 +0800
commitb89661dff525a46edb7ee8a4423b5212068c05c0 (patch)
tree06f669f3efe74d37a546b8e75b3a5bd142a6a41f /tools/perf/util/trace-event-scripting.c
parentfad3a906d324c02b3c25ef51f702384154089846 (diff)
padata: Allocate cpumask dependend recources in any case
The cpumask separation work assumes the cpumask dependend recources present regardless of valid or invalid cpumasks. With this patch we allocate the cpumask dependend recources in any case. This fixes two NULL pointer dereference crashes in padata_replace and in padata_get_cpumask. Signed-off-by: Steffen Klassert <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions