Commit 7f5249a
committed
selinux: Add boundary check in put_entry()
jira VULN-70689
cve CVE-2022-50200
commit-author Xiu Jianfeng <[email protected]>
commit 15ec76f
Just like next_entry(), boundary check is necessary to prevent memory
out-of-bound access.
Signed-off-by: Xiu Jianfeng <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
(cherry picked from commit 15ec76f)
Signed-off-by: Brett Mastbergen <[email protected]>1 parent 1d3425d commit 7f5249a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
373 | 375 | | |
374 | 376 | | |
375 | 377 | | |
| |||
0 commit comments