[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221108015130.28326-1-shangxiaojing@huawei.com>
Date: Tue, 8 Nov 2022 09:51:28 +0800
From: Shang XiaoJing <shangxiaojing@...wei.com>
To: <rostedt@...dmis.org>, <mhiramat@...nel.org>, <zanussi@...nel.org>,
<linux-kernel@...r.kernel.org>
CC: <shangxiaojing@...wei.com>
Subject: [PATCH v2 0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c
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.
---
changes in v2:
- add cc tag.
- improvement on patch 2.
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 | 48 ++++++++++++++++++----------
1 file changed, 32 insertions(+), 16 deletions(-)
--
2.17.1
Powered by blists - more mailing lists