aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-06-13 21:59:53 +0800
committerPaul Moore <paul@paul-moore.com>2022-06-13 19:31:53 -0400
commit73de1befcc53a7c68b0c5e76b9b5ac41c517760f (patch)
treed15d49fa0a234bb3ae70fe702fde5bb96ce86e27 /scripts/generate_rust_analyzer.py
parentdocs: selinux: add '=' signs to kernel boot options (diff)
downloadwireguard-linux-73de1befcc53a7c68b0c5e76b9b5ac41c517760f.tar.xz
wireguard-linux-73de1befcc53a7c68b0c5e76b9b5ac41c517760f.zip
selinux: fix memleak in security_read_state_kernel()
In this function, it directly returns the result of __security_read_policy without freeing the allocated memory in *data, cause memory leak issue, so free the memory if __security_read_policy failed. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> [PM: subject line tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions