diff options
author | Casey Schaufler <[email protected]> | 2024-11-26 10:21:20 -0800 |
---|---|---|
committer | Paul Moore <[email protected]> | 2024-11-26 22:58:03 -0500 |
commit | a65d9d1d893b124917141bd8cdf0e0e47ff96438 (patch) | |
tree | 49e8578b17e2acec703036e70a848c3a754db7b4 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 8afd8c8faa24249e48f5007aee46209299377588 (diff) |
ima: uncover hidden variable in ima_match_rules()
The variable name "prop" is inadvertently used twice in
ima_match_rules(), resulting in incorrect use of the local
variable when the function parameter should have been.
Rename the local variable and correct the use of the parameter.
Suggested-by: Roberto Sassu <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Acked-by: Roberto Sassu <[email protected]>
[PM: subj tweak, Roberto's ACK]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions