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

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to