diff options
author | Paul Moore <paul.moore@hp.com> | 2009-02-27 15:00:03 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-03-02 09:30:04 +1100 |
commit | d7f59dc4642ce2fc7b79fcd4ec02ffce7f21eb02 (patch) | |
tree | 1557550ed6478a38cc04ad480a5977580d97b5cd /net/ipv4 | |
parent | 778ef1e6cbb049c9bcbf405936ee6f2b6e451892 (diff) |
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 'net/ipv4')
0 files changed, 0 insertions, 0 deletions