lkml.org 
[lkml]   [2022]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c
Date
Due to lack of the checking and setting-NULL on pointer, there are some
null pointer dereference or page fault bugs were found when insert
module, and fixed by this patch set.

Shang XiaoJing (2):
tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in
kprobe_event_gen_test_exit()
tracing: kprobe: Fix potential null-ptr-deref on trace_array in
kprobe_event_gen_test_exit()

kernel/trace/kprobe_event_gen_test.c | 51 +++++++++++++++++++---------
1 file changed, 35 insertions(+), 16 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2022-11-07 08:19    [W:0.082 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site