Skip to content

Handle data underflow

Hannes Reinecke linux-scsi 1 version Applied

Status from this message: Applied. Thanks Hannes!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target_core_alua: check for buffer overflowdrivers/target/target_core_alua.c+17 -61 reply
2/2target_core_spc: bounds check for spc_emulate_inquiry()drivers/target/target_core_spc.c include/target/target_core_backend.h+235 -1584 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Handle data underflow

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(-)
Signature · 1 line
1.7.12.4