Commit 7ad8474
bpf: Check size of the signature buffer
Accept only a SHA256 sized buffer.
Fixes: 3492715 ("bpf: Implement signature verification for BPF programs")
Reported-by: Chris Mason <[email protected]>
Signed-off-by: KP Singh <[email protected]>1 parent 8f87988 commit 7ad8474
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2826 | 2826 | | |
2827 | 2827 | | |
2828 | 2828 | | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
2829 | 2832 | | |
2830 | 2833 | | |
2831 | 2834 | | |
| |||
0 commit comments