[PATCH net] rxrpc: Fix potential NULL-pointer exception

David Miller davem at davemloft.net
Fri Mar 3 09:48:40 PST 2017


From: David Howells <dhowells at redhat.com>
Date: Thu, 02 Mar 2017 23:26:13 +0000

> Fix a potential NULL-pointer exception in rxrpc_do_sendmsg().  The call
> state check that I added should have gone into the else-body of the
> if-statement where we actually have a call to check.
> 
> Found by CoverityScan CID#1414316 ("Dereference after null check").
> 
> Fixes: 540b1c48c37a ("rxrpc: Fix deadlock between call creation and sendmsg/recvmsg")
> Reported-by: Colin Ian King <colin.king at canonical.com>
> Signed-off-by: David Howells <dhowells at redhat.com>

Applied.



More information about the linux-afs mailing list