]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
RxRPC: Fix a potential NULL dereference
authorDavid Howells <dhowells@redhat.com>
Sat, 7 Feb 2009 05:50:52 +0000 (21:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 05:50:52 +0000 (21:50 -0800)
commit15bde72738f373aa060ececeda8e064e4f924360
tree9f13defd4cbdfff49b1e39a0ac43b9df4c4581de
parent355423d0849f4506bc71ab2738d38cb74429aaef
RxRPC: Fix a potential NULL dereference

Fix a potential NULL dereference bug during error handling in
rxrpc_kernel_begin_call(), whereby rxrpc_put_transport() may be handed a NULL
pointer.

This was found with a code checker (http://repo.or.cz/w/smatch.git/).

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/af_rxrpc.c