diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-06-13 09:43:21 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-16 21:23:18 -0400 |
commit | 35bf020bd8ab41849871645d8fa83c86cddfe7eb (patch) | |
tree | a27973460088307e3ce7ffa7750eb8ca0e58f4e0 /drivers/i3c | |
parent | 09c962fd4816f31ad428948c1dea3aea33f471e3 (diff) | |
download | linux-35bf020bd8ab41849871645d8fa83c86cddfe7eb.tar.bz2 |
scsi: target: iscsi: Fix NULL pointer dereference in iscsi_conn_auth_required()
Fix following coccicheck error:
./drivers/target/iscsi/iscsi_target_nego.c:831:13-26: ERROR: se_nacl is NULL but dereferenced.
Link: https://lore.kernel.org/r/20220613014321.107045-1-yang.lee@linux.alibaba.com
Fixes: a75fcb0912a5 ("scsi: target: iscsi: Extract auth functions")
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/i3c')
0 files changed, 0 insertions, 0 deletions