Commit 54654ac
committed
LKM: address potential buffer overflow on sprint_symbol use
if it sees a wrong symbol longer than 32 bytes, it can actually overflow.
chance is very small, but were on kernel space so be defensive.
Signed-off-by: backslashxx <[email protected]>1 parent 38a73f8 commit 54654ac
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments