Searched hist:"154 c50ca" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/selinux/ |
H A D | selinuxfs.c | 154c50ca Wed Apr 04 12:47:11 CDT 2012 Eric Paris <eparis@redhat.com> SELinux: if sel_make_bools errors don't leave inconsistent state
We reset the bool names and values array to NULL, but do not reset the number of entries in these arrays to 0. If we error out and then get back into this function we will walk these NULL pointers based on the belief that they are non-zero length.
Signed-off-by: Eric Paris <eparis@redhat.com> cc: stable@kernel.org 154c50ca Wed Apr 04 12:47:11 CDT 2012 Eric Paris <eparis@redhat.com> SELinux: if sel_make_bools errors don't leave inconsistent state We reset the bool names and values array to NULL, but do not reset the number of entries in these arrays to 0. If we error out and then get back into this function we will walk these NULL pointers based on the belief that they are non-zero length. Signed-off-by: Eric Paris <eparis@redhat.com> cc: stable@kernel.org
|