Commit ae76ec7
committed
bpf: Convert PTR_TO_MEM_OR_NULL to composable types.
jira VULN-136
cve-pre CVE-2022-0500
commit-author Hao Luo <haoluo@google.com>
commit cf9f2f8
Remove PTR_TO_MEM_OR_NULL and replace it with PTR_TO_MEM combined with
flag PTR_MAYBE_NULL.
Signed-off-by: Hao Luo <haoluo@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211217003152.48334-7-haoluo@google.com
(cherry picked from commit cf9f2f8)
Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>1 parent 5e05f02 commit ae76ec7
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5667 | 5667 | | |
5668 | 5668 | | |
5669 | 5669 | | |
5670 | | - | |
| 5670 | + | |
5671 | 5671 | | |
5672 | 5672 | | |
5673 | 5673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12740 | 12740 | | |
12741 | 12741 | | |
12742 | 12742 | | |
12743 | | - | |
| 12743 | + | |
12744 | 12744 | | |
12745 | 12745 | | |
12746 | 12746 | | |
| |||
0 commit comments