selinux/libsepol
Chris PeBenito e26b58b08e libsepol: Move context_copy() after switch block in ocontext_copy_*().
If an initial SID is missing a labeling statement, the compiler will
segfault on the context_copy().  Move the context copy after the
switch block so that the existance of the initial SID label can be checked
before trying to copy the context.

This fixes both ocontext_copy_selinux() and ocontext_copy_xen().

Signed-off-by: Chris PeBenito <cpebenito@tresys.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
2012-09-12 14:30:23 -04:00
..
include libsepol: reserve policycapability for redhat testing of ptrace child 2012-06-28 11:21:15 -04:00
man whole tree: default make target to all not install 2011-09-16 11:54:04 -04:00
src libsepol: Move context_copy() after switch block in ocontext_copy_*(). 2012-09-12 14:30:23 -04:00
tests reactivate attribute mapping unit test 2010-03-24 13:55:23 -04:00
utils libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
.gitignore Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
Android.mk libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
ChangeLog Version bumps for upstream push 2012-06-28 14:02:29 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
VERSION Version bumps for upstream push 2012-06-28 14:02:29 -04:00