aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJiang Biao <[email protected]>2018-07-20 08:06:32 +0800
committerThomas Gleixner <[email protected]>2018-07-20 07:07:39 +0200
commit8c934e01a7ce685d98e970880f5941d79272c654 (patch)
tree31d28a6c15860b60aecd2c30d1c0098c3b98ff13 /tools/perf/util/trace-event-scripting.c
parentb2b7d986a89b6c94b1331a909de1217214fb08c1 (diff)
x86/pti: Check the return value of pti_user_pagetable_walk_pmd()
pti_user_pagetable_walk_pmd() can return NULL, so the return value should be checked to prevent a NULL pointer dereference. Add the check and a warning when the PMD allocation fails. Signed-off-by: Jiang Biao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions