diff options
author | Eric Paris <eparis@redhat.com> | 2009-02-12 14:50:05 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-02-13 17:22:30 -0500 |
commit | 4cb912f1d1447077160ace9ce3b3a10696dd74e5 (patch) | |
tree | 916f112de07ca626b0f398a0fc85943f15306146 /security/selinux/avc.c | |
parent | 4ba0a8ad63e12a03ae01c039482967cc496b9174 (diff) |
SELinux: NULL terminate al contexts from disk
When a context is pulled in from disk we don't know that it is null
terminated. This patch forecebly null terminates contexts when we pull
them from disk.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/avc.c')
0 files changed, 0 insertions, 0 deletions