From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Lin Ma <linma@zju.edu.cn>
Cc: lduncan@suse.com, cleech@redhat.com, michael.christie@oracle.com,
jejb@linux.ibm.com, martin.petersen@oracle.com,
open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/2] scsi: iscsi: Add strlen check in iscsi_if_set_{host}_param
Date: Tue, 25 Jul 2023 21:56:20 -0400 [thread overview]
Message-ID: <yq1wmynxwow.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20230723075820.3713119-1-linma@zju.edu.cn> (Lin Ma's message of "Sun, 23 Jul 2023 15:58:20 +0800")
Lin,
> The function iscsi_if_set_param and iscsi_if_set_host_param converts
> nlattr payload to type char* and then call C string handling functions
> like sscanf and kstrdup.
Applied to 6.6/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2023-07-26 1:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-23 7:58 [PATCH v1 2/2] scsi: iscsi: Add strlen check in iscsi_if_set_{host}_param Lin Ma
2023-07-26 1:56 ` Martin K. Petersen [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-25 2:45 Lin Ma
2023-07-25 17:26 ` Chris Leech
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1wmynxwow.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=cleech@redhat.com \
--cc=jejb@linux.ibm.com \
--cc=lduncan@suse.com \
--cc=linma@zju.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=michael.christie@oracle.com \
--cc=open-iscsi@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox