From: Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com>
To: martin.petersen@oracle.com, mchristi@redhat.com,
target-devel@vger.kernel.org, linux-scsi@vger.kernel.org
Cc: shirley.ma@oracle.com
Subject: [PATCH v2 0/3] target: fix NULL pointer dereference
Date: Thu, 21 May 2020 22:13:22 +0000 [thread overview]
Message-ID: <1590099205-7997-1-git-send-email-sudhakar.panneerselvam@oracle.com> (raw)
The following set of commits address a NULL pointer dereference and some
refactoring around this issue.
v2:
- new helper is named as target_cmd_init_cdb()
- existing function, target_setup_cmd_from_cdb is renamed as
target_cmd_parse_cdb()
Sudhakar Panneerselvam (3):
target: factor out a new helper, target_cmd_init_cdb()
target: fix NULL pointer dereference
target: rename target_setup_cmd_from_cdb() to target_cmd_parse_cdb()
drivers/target/iscsi/iscsi_target.c | 21 +++++++++++++--------
drivers/target/target_core_transport.c | 27 +++++++++++++++++++++------
drivers/target/target_core_xcopy.c | 5 ++++-
include/target/target_core_fabric.h | 3 ++-
4 files changed, 40 insertions(+), 16 deletions(-)
--
1.8.3.1
next reply other threads:[~2020-05-21 22:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-21 22:13 Sudhakar Panneerselvam [this message]
2020-05-21 22:13 ` [PATCH v2 1/3] target: factor out a new helper, target_cmd_init_cdb() Sudhakar Panneerselvam
2020-05-21 22:13 ` [PATCH v2 2/3] target: fix NULL pointer dereference Sudhakar Panneerselvam
2020-05-21 22:13 ` [PATCH v2 3/3] target: rename target_setup_cmd_from_cdb() to target_cmd_parse_cdb() Sudhakar Panneerselvam
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=1590099205-7997-1-git-send-email-sudhakar.panneerselvam@oracle.com \
--to=sudhakar.panneerselvam@oracle.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mchristi@redhat.com \
--cc=shirley.ma@oracle.com \
--cc=target-devel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).