kernel_optimize_test/net/rxrpc
David Howells 15bde72738 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>
2009-02-06 21:50:52 -08:00
..
af_rxrpc.c RxRPC: Fix a potential NULL dereference 2009-02-06 21:50:52 -08:00
ar-accept.c net/rxrpc: Use an IS_ERR test rather than a NULL test 2008-08-13 02:40:48 -07:00
ar-ack.c net/rxrpc: Use BUG_ON 2008-02-17 18:42:03 -08:00
ar-call.c [AF_RXRPC]: constify function pointer tables 2008-01-31 19:27:18 -08:00
ar-connection.c net: Make static 2008-12-10 15:18:31 -08:00
ar-connevent.c net: Make static 2008-12-10 15:18:31 -08:00
ar-error.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
ar-input.c MIB: add struct net to UDP_INC_STATS_BH 2008-07-05 21:18:48 -07:00
ar-internal.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-04-17 23:56:30 -07:00
ar-key.c CRED: Inaugurate COW credentials 2008-11-14 10:39:23 +11:00
ar-local.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
ar-output.c [AF_RXRPC]: Return the number of bytes buffered in rxrpc_send_data() 2007-06-18 23:30:41 -07:00
ar-peer.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
ar-proc.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
ar-recvmsg.c RxRPC: fix rxrpc_recvmsg()'s returning of msg_name 2008-03-05 18:53:55 -08:00
ar-security.c net: Make static 2008-12-10 15:18:31 -08:00
ar-skbuff.c [AF_RXRPC]: Add an interface to the AF_RXRPC module for the AFS filesystem to use 2007-04-26 15:50:17 -07:00
ar-transport.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
Kconfig [RXRPC]: Add missing select on CRYPTO 2007-11-30 23:30:40 +11:00
Makefile [AF_RXRPC]: Delete the old RxRPC code. 2007-04-26 15:55:48 -07:00
rxkad.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00