diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-08-07 19:11:38 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-08-09 19:07:48 -0400 |
commit | aa4b60518280834529f75cb7667ffac91967abea (patch) | |
tree | e8aa4d49996aeae2c492804a1b0b222fef180ab6 /.cocciconfig | |
parent | 002903e1d10fd8c9e215d88e0c71f609a4af5755 (diff) |
selinux: make left shifts well defined
The loops upper bound represent the number of permissions used (for the
current class or in general). The limit for this is 32, thus we might
left shift of one less, 31. Shifting a base of 1 results in undefined
behavior; use (u32)1 as base.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions