diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-08-18 18:33:58 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-08-18 23:13:03 +0300 |
commit | 70d91dc9b2ac91327d0eefd86163abc3548effa6 (patch) | |
tree | a6eec7ca439c48e9e5c30969907295d754771049 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
download | linux-70d91dc9b2ac91327d0eefd86163abc3548effa6.tar.xz |
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: <stable@vger.kernel.org>
Fixes: 430059024389 ("selinux: implement new format of filename transitions")
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions