diff options
author | 2009-02-27 15:00:03 -0500 | |
---|---|---|
committer | 2009-03-02 09:30:04 +1100 | |
commit | d7f59dc4642ce2fc7b79fcd4ec02ffce7f21eb02 (patch) | |
tree | 1557550ed6478a38cc04ad480a5977580d97b5cd /fs | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 (diff) | |
download | linux-dev-d7f59dc4642ce2fc7b79fcd4ec02ffce7f21eb02.tar.xz linux-dev-d7f59dc4642ce2fc7b79fcd4ec02ffce7f21eb02.zip |
selinux: Fix a panic in selinux_netlbl_inode_permission()
Rick McNeal from LSI identified a panic in selinux_netlbl_inode_permission()
caused by a certain sequence of SUNRPC operations. The problem appears to be
due to the lack of NULL pointer checking in the function; this patch adds the
pointer checks so the function will exit safely in the cases where the socket
is not completely initialized.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions