[PATCH net] rxrpc: Fix potential NULL-pointer exception
David Howells
dhowells at redhat.com
Thu Mar 2 15:30:45 PST 2017
David Howells <dhowells at redhat.com> wrote:
> 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>
Please ignore this - there's another patch interposed that I haven't sent
upstream yet. Will rebase on net/master.
David
More information about the linux-afs
mailing list