git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0907f34
)
bnx2x: Prevent null pointer dereference on error flow
author
Yuval Mintz
<yuvalmin@broadcom.com>
Sun, 20 Oct 2013 14:51:31 +0000
(16:51 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Oct 2013 22:31:35 +0000
(18:31 -0400)
If debug message is open and bnx2x_vfop_qdtor_cmd() were to fail,
the resulting print would have caused a null pointer dereference.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found