linux/security
Christian Göttsche bbea03f474 selinux: check for multiplication overflow in put_entry()
The function is always inlined and most of the time both relevant
arguments are compile time constants, allowing compilers to elide the
check.  Also the function is part of outputting the policy, which is not
performance critical.

Also convert the type of the third parameter into a size_t, since it
should always be a non-negative number of elements.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2023-07-18 18:29:46 -04:00
..
2023-07-07 09:55:31 -07:00
2023-06-30 09:20:08 -07:00
2023-06-12 21:26:19 +02:00
2023-04-27 16:52:33 -07:00
2023-04-27 16:52:33 -07:00
2023-05-25 17:52:15 -04:00
2023-05-25 17:52:15 -04:00
2023-06-27 17:24:26 -07:00