[SELINUX]: Fix bug in security_sid_mls_copy
commit4eb327b517cf85f6cb7dcd5691e7b748cbe8c343
authorVenkat Yekkirala <vyekkirala@TrustedCS.com>
Tue, 19 Sep 2006 17:24:19 +0000 (19 10:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:04 +0000 (22 15:19 -0700)
tree51bd92e6b5582a10f21de0d909fb062d6ecf8cce
parent161643660129dd7d98f0b12418c0a2710ffa7db6
[SELINUX]: Fix bug in security_sid_mls_copy

The following fixes a bug where random mem is being tampered with in the
non-mls case; encountered by Jashua Brindle on a gentoo box.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/services.c