diff options
author | Jonas Brich <Jonas.Brich@bmw.de> | 2021-10-08 14:47:14 +0200 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2021-10-18 13:09:28 -0400 |
commit | d6ff5a0e67afe519ce3c03a92d423481e4e41ca2 (patch) | |
tree | 02cb9c5ee3d8d3e9adcababa1ad3c490e6df5f8e /recipes-security/refpolicy/refpolicy-git/0024-policy-module-rpc-allow-nfsd-to-exec-shell-commands.patch | |
parent | 10187c3ceeb38acdfb92e8f3d8dd735e2bf485e1 (diff) | |
download | meta-selinux-d6ff5a0e67afe519ce3c03a92d423481e4e41ca2.tar.gz |
libselinux: Backport NULL pointer fix from 3.1
Using function restorecon_init inside selinux_restorecon.c can
result in a NULL pointer. This happens because function
selinux_restorecon_set_sehandle can return a NULL pointer. But
it is not checked and directly given to the next function.
This problem is already fixed in libselinux 3.1 and above.
Therefore backport this fix.
Upstream-Status: Backport [https://github.com/SELinuxProject/selinux/commit/08f5e30177218fae7ce9f5c8d6856690126b2b30]
Issue: MGURSU-7259
Change-Id: Ice5c7c94987441ba53431aeffc200c0b9c5697a4
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0024-policy-module-rpc-allow-nfsd-to-exec-shell-commands.patch')
0 files changed, 0 insertions, 0 deletions