diff options
author | 2024-11-26 10:21:20 -0800 | |
---|---|---|
committer | 2024-11-26 22:58:03 -0500 | |
commit | a65d9d1d893b124917141bd8cdf0e0e47ff96438 (patch) | |
tree | 49e8578b17e2acec703036e70a848c3a754db7b4 /scripts/generate_rust_analyzer.py | |
parent | lsm: remove lsm_prop scaffolding (diff) | |
download | wireguard-linux-a65d9d1d893b124917141bd8cdf0e0e47ff96438.tar.xz wireguard-linux-a65d9d1d893b124917141bd8cdf0e0e47ff96438.zip |
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 <roberto.sassu@huawei.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: Roberto Sassu <roberto.sassu@huawei.com>
[PM: subj tweak, Roberto's ACK]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions