diff options
author | Paul Moore <paul.moore@hp.com> | 2009-02-27 21:00:03 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-03-01 23:30:04 +0100 |
commit | d7f59dc4642ce2fc7b79fcd4ec02ffce7f21eb02 (patch) | |
tree | 1557550ed6478a38cc04ad480a5977580d97b5cd /firmware | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 (diff) | |
download | linux-d7f59dc4642ce2fc7b79fcd4ec02ffce7f21eb02.tar.xz linux-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 'firmware')
0 files changed, 0 insertions, 0 deletions