linux-stable/security/selinux/ss
Xiu Jianfeng 15ec76fb29 selinux: Add boundary check in put_entry()
Just like next_entry(), boundary check is necessary to prevent memory
out-of-bound access.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2022-06-14 21:52:37 -04:00
..
avtab.c selinux: declare data arrays const 2022-05-03 15:53:49 -04:00
avtab.h selinux: constify some avtab function arguments 2021-05-10 21:35:02 -04:00
conditional.c selinux/stable-5.18 PR 20220321 2022-03-21 20:47:54 -07:00
conditional.h selinux: refactor changing booleans 2020-08-17 21:00:33 -04:00
constraint.h
context.c selinux: hash context structure directly 2020-04-17 16:04:34 -04:00
context.h selinux: move context hashing under sidtab 2020-04-17 16:04:38 -04:00
ebitmap.c selinux: drop return statement at end of void functions 2022-02-18 10:42:12 -05:00
ebitmap.h selinux: enclose macro arguments in parenthesis 2022-01-26 15:13:58 -05:00
hashtab.c selinux: fix bad cleanup on error in hashtab_duplicate() 2022-05-17 18:34:35 -04:00
hashtab.h selinux: refactor changing booleans 2020-08-17 21:00:33 -04:00
mls.c selinux: drop return statement at end of void functions 2022-02-18 10:42:12 -05:00
mls.h selinux: hash context structure directly 2020-04-17 16:04:34 -04:00
mls_types.h
policydb.c selinux: declare data arrays const 2022-05-03 15:53:49 -04:00
policydb.h selinux: Add boundary check in put_entry() 2022-06-14 21:52:37 -04:00
services.c selinux: fix memleak in security_read_state_kernel() 2022-06-13 19:31:53 -04:00
services.h selinux: convert policy read-write lock to RCU 2020-08-25 08:34:47 -04:00
sidtab.c selinux: enclose macro arguments in parenthesis 2022-01-26 15:13:58 -05:00
sidtab.h selinux: fix race between old and new sidtab 2021-04-07 20:42:56 -04:00
symtab.c selinux: prepare for inlining of hashtab functions 2020-07-09 19:05:36 -04:00
symtab.h selinux: specialize symtab insert and search functions 2020-07-08 20:21:43 -04:00