[bug report] scsi: target: iscsi: Extract auth functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Dmitry Bogdanov,

This is a semi-automatic email about new static checker warnings.

The patch a75fcb0912a5: "scsi: target: iscsi: Extract auth functions" 
from May 23, 2022, leads to the following Smatch complaint:

    drivers/target/iscsi/iscsi_target_nego.c:830 iscsi_conn_auth_required()
    error: we previously assumed 'se_nacl' could be null (see line 829)

drivers/target/iscsi/iscsi_target_nego.c
   828		se_nacl = conn->sess->se_sess->se_node_acl;
   829		if (!se_nacl) {
                     ^^^^^^^
NULL

   830			pr_debug("Unknown ACL %s is trying to connect\n",
   831				 se_nacl->initiatorname);
                                 ^^^^^^^^^^^^^^^^^^^^^^
Dereferenced

   832			return true;

regards,
dan carpenter



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux