From: Hannes Reinecke <hare@suse.de>
To: Nic Bellinger <nab@daterainc.com>
Cc: target-devel@vger.kernel.org, linux-scsi@vger.kernel.org,
Hannes Reinecke <hare@suse.de>
Subject: [PATCH 0/2] Handle data underflow
Date: Thu, 19 Dec 2013 14:36:10 +0100 [thread overview]
Message-ID: <1387460172-27396-1-git-send-email-hare@suse.de> (raw)
Here are some minor cleanups to better handler data underflow in
target_emulate_report_referrals and during VPD emulation.
The first is on request from Nic, and the second resolves a
high stack frame usage during generating INQUIRY responses.
Hannes Reinecke (2):
target_core_alua: check for buffer overflow
target_core_spc: bounds check for spc_emulate_inquiry()
drivers/target/target_core_alua.c | 23 ++-
drivers/target/target_core_spc.c | 391 +++++++++++++++++++++--------------
include/target/target_core_backend.h | 2 +-
3 files changed, 252 insertions(+), 164 deletions(-)
--
1.7.12.4
next reply other threads:[~2013-12-19 13:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-19 13:36 Hannes Reinecke [this message]
2013-12-19 13:36 ` [PATCH 1/2] target_core_alua: check for buffer overflow Hannes Reinecke
2013-12-19 21:43 ` Nicholas A. Bellinger
2013-12-19 13:36 ` [PATCH 2/2] target_core_spc: bounds check for spc_emulate_inquiry() Hannes Reinecke
2013-12-19 22:11 ` Nicholas A. Bellinger
2013-12-20 6:47 ` Hannes Reinecke
2013-12-20 22:53 ` Paolo Bonzini
2013-12-22 2:53 ` Nicholas A. Bellinger
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=1387460172-27396-1-git-send-email-hare@suse.de \
--to=hare@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=nab@daterainc.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).