diff options
| author | Dan Carpenter <[email protected]> | 2019-01-24 10:29:40 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-01-29 06:31:13 +0000 |
| commit | b2d3492fc591b1fb46b81d79ca1fc44cac6ae0ae (patch) | |
| tree | f7985781c41c8debdd96ffb8a127e8289072a70c /lib/assoc_array.c | |
| parent | scsi: scsi_debug: fix write_same with virtual_gb problem (diff) | |
| download | kernel-b2d3492fc591b1fb46b81d79ca1fc44cac6ae0ae.tar.gz kernel-b2d3492fc591b1fb46b81d79ca1fc44cac6ae0ae.zip | |
scsi: bnx2fc: Fix error handling in probe()
There are two issues here. First if cmgr->hba is not set early enough then
it leads to a NULL dereference. Second if we don't completely initialize
cmgr->io_bdt_pool[] then we end up dereferencing uninitialized pointers.
Fixes: 853e2bd2103a ("[SCSI] bnx2fc: Broadcom FCoE offload driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
