From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Maurizio Lombardi <mlombard@redhat.com>
Cc: martin.petersen@oracle.com, target-devel@vger.kernel.org,
michael.christie@oracle.com, d.bogdanov@yadro.com
Subject: Re: [PATCH] target: core: fix invalid memory access
Date: Tue, 11 Apr 2023 20:51:47 -0400 [thread overview]
Message-ID: <yq1wn2horc7.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20230407130033.556644-1-mlombard@redhat.com> (Maurizio Lombardi's message of "Fri, 7 Apr 2023 15:00:33 +0200")
Maurizio,
> nr_attrs should start counting from zero, otherwise we will end up
> dereferencing an invalid memory address.
Applied to 6.4/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2023-04-12 0:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-07 13:00 [PATCH] target: core: fix invalid memory access Maurizio Lombardi
2023-04-07 13:32 ` Dmitry Bogdanov
2023-04-07 16:35 ` Mike Christie
2023-04-12 0:51 ` Martin K. Petersen [this message]
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=yq1wn2horc7.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=d.bogdanov@yadro.com \
--cc=michael.christie@oracle.com \
--cc=mlombard@redhat.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 read-only IMAP folder(s) and NNTP newsgroup(s).