summaryrefslogtreecommitdiffstats
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-01-24 13:29:40 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-29 01:31:13 -0500
commitb2d3492fc591b1fb46b81d79ca1fc44cac6ae0ae (patch)
treef7985781c41c8debdd96ffb8a127e8289072a70c /fs/readdir.c
parent40d07b523cf434f252b134c86b1f8f2d907ffb0b (diff)
downloadlinux-b2d3492fc591b1fb46b81d79ca1fc44cac6ae0ae.tar.bz2
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 <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions