projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7769f40
)
[RXRPC] net/rxrpc/ar-connection.c: fix NULL dereference
author
Adrian Bunk
<bunk@stusta.de>
Fri, 15 Jun 2007 22:15:43 +0000
(15:15 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 15 Jun 2007 22:15:43 +0000
(15:15 -0700)
This patch fixes a NULL dereference spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-connection.c
patch
|
blob
|
history
diff --git
a/net/rxrpc/ar-connection.c
b/net/rxrpc/ar-connection.c
index 43cb3e051ecebab820eec310f94e8ce3c98aa4e0..482750efc2355b4ea3f875044cd8b0323f848c62 100644
(file)
--- a/
net/rxrpc/ar-connection.c
+++ b/
net/rxrpc/ar-connection.c
@@
-211,7
+211,7
@@
static struct rxrpc_connection *rxrpc_alloc_connection(gfp_t gfp)
conn->header_size = sizeof(struct rxrpc_header);
}
- _leave(" = %p{%d}", conn, conn
->debug_id
);
+ _leave(" = %p{%d}", conn, conn
? conn->debug_id : 0
);
return conn;
}