Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'selinux-pr-20230821' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux

Pull selinux fix from Paul Moore:
"A small fix for a potential problem when cleaning up after a failed
SELinux policy load (list next pointer not being properly initialized
to NULL early enough)"

* tag 'selinux-pr-20230821' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
selinux: set next pointer before attaching to list

+1 -1
+1 -1
security/selinux/ss/policydb.c
··· 2005 2005 if (!datum) 2006 2006 goto out; 2007 2007 2008 + datum->next = NULL; 2008 2009 *dst = datum; 2009 2010 2010 2011 /* ebitmap_read() will at least init the bitmap */ ··· 2018 2017 goto out; 2019 2018 2020 2019 datum->otype = le32_to_cpu(buf[0]); 2021 - datum->next = NULL; 2022 2020 2023 2021 dst = &datum->next; 2024 2022 }