[0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c

Message ID 20221107071617.21644-1-shangxiaojing@huawei.com
Headers
Series tracing: kprobe: Fix some bug in kprobe_event_gen_test.c |

Message

Shang XiaoJing Nov. 7, 2022, 7:16 a.m. UTC
  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(-)