]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: Add boundary check in put_entry()
authorXiu Jianfeng <xiujianfeng@huawei.com>
Tue, 14 Jun 2022 02:14:49 +0000 (10:14 +0800)
committerPaul Moore <paul@paul-moore.com>
Wed, 15 Jun 2022 01:52:37 +0000 (21:52 -0400)
commitfa7750a1a12f3218d5961a56f9fac3e8f3134449
tree77a1eb30dffc1231cafb9f21ea2aa2a55af72c16
parent7b273980973b320b2644c2e296abd5b1926904a0
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>
security/selinux/ss/policydb.h