Commit 36b8312
ptp: prevent info leak to userspace
Somehow the `memset` is lost after refactor, which leaks a lot of kernel
stack data to userspace directly. This patch clears the reserved data
region to prevent the info leak.
Signed-off-by: Kyle Zeng <zengyhkyle@gmail.com>
Signed-off-by: NipaLocal <nipa@local>1 parent cbe99b6 commit 36b8312
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
| |||
0 commit comments