aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/module.rs
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2023-08-18 15:33:58 +0000
committerPaul Moore <[email protected]>2023-08-18 20:13:03 +0000
commit70d91dc9b2ac91327d0eefd86163abc3548effa6 (patch)
treea6eec7ca439c48e9e5c30969907295d754771049 /rust/macros/module.rs
parentLinux 6.5-rc1 (diff)
downloadkernel-70d91dc9b2ac91327d0eefd86163abc3548effa6.tar.gz
kernel-70d91dc9b2ac91327d0eefd86163abc3548effa6.zip
selinux: set next pointer before attaching to list
Set the next pointer in filename_trans_read_helper() before attaching the new node under construction to the list, otherwise garbage would be dereferenced on subsequent failure during cleanup in the out goto label. Cc: <[email protected]> Fixes: 430059024389 ("selinux: implement new format of filename transitions") Signed-off-by: Christian Göttsche <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'rust/macros/module.rs')
0 files changed, 0 insertions, 0 deletions