commit | df5d8bf70f64a2ee34234553eb215418dbc4c8f3 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed Aug 24 14:31:43 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Wed Aug 24 15:15:59 2016 +0100 |
tree | 866b273fb3eb256464fe6d10185b63054601df5a | |
parent | 2266ffdef5737fdfa96005204fc5606dbd559956 [diff] |
rxrpc: Make /proc/net/rxrpc_calls safer Make /proc/net/rxrpc_calls safer by stashing a copy of the peer pointer in the rxrpc_call struct and checking in the show routine that the peer pointer, the socket pointer and the local pointer obtained from the socket pointer aren't NULL before we use them. Signed-off-by: David Howells <dhowells@redhat.com>