summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorChristophe JAILLET2017-08-20 19:09:35 +0200
committerMartin K. Petersen2017-08-24 04:42:41 +0200
commit47c4ccd3086139d2085e0f1e59c0f26e8ce4ff46 (patch)
tree6ff8b2183a6ab609804bae7eb5c7f90cfc5faeb4 /drivers/mfd
parentscsi: sg: off by one in sg_ioctl() (diff)
downloadkernel-qcow2-linux-47c4ccd3086139d2085e0f1e59c0f26e8ce4ff46.tar.gz
kernel-qcow2-linux-47c4ccd3086139d2085e0f1e59c0f26e8ce4ff46.tar.xz
kernel-qcow2-linux-47c4ccd3086139d2085e0f1e59c0f26e8ce4ff46.zip
scsi: qedf: Fix a potential NULL pointer dereference
At the beginning of 'qedf_srr_compl()' and of 'qedf_rec_compl()', we check if 'orig_io_req' is NULL. If this happens, a NULL pointer dereference will occur in the error handling path. Fix it by adding an additional label in the error handling path in order to avoid this NULL pointer dereference. [mkp: typo] Fixes: 61d8658b4a43 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions