selinux/libselinux
Christian Göttsche 31e3537624 libselinux: simplify policy path logic to avoid uninitialized read
In case the function __policy_init() gets called with a NULL pointer,
the stack variable path remains uninitialized (except at its last
index).  If parsing the binary policy fails in sepol_policydb_read() the
error branch would access those uninitialized memory.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
2022-06-08 08:48:40 -04:00
..
include libselinux: declare return value of context_str(3) const 2022-06-02 08:29:01 -04:00
man libselinux: update man page of setfilecon(3) family about context parameter 2022-05-17 13:52:31 +02:00
src libselinux: simplify policy path logic to avoid uninitialized read 2022-06-08 08:48:40 -04:00
utils libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: use PCRE2 by default 2021-12-09 11:07:00 -05:00
VERSION Update VERSIONs to 3.4 for release. 2022-05-18 16:51:03 +02:00