diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-19 23:13:28 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-01-10 06:48:38 +0100 |
commit | f82f320edc1e26320bd7e58b347d5616e6a23ff2 (patch) | |
tree | e46887b340762c45358f8141c533aaba66b0ea05 /include/target/target_core_backend.h | |
parent | target_core_alua: check for buffer overflow (diff) | |
download | linux-f82f320edc1e26320bd7e58b347d5616e6a23ff2.tar.xz linux-f82f320edc1e26320bd7e58b347d5616e6a23ff2.zip |
target: Convert inquiry temporary buffer to heap memory
This patch converts the temporary buffer in spc_emulate_inquiry() to
use dynamically allocated memory, instead of local stack memory.
Also bump SE_INQUIRY_BUF up to 1024 bytes to be safe when handling
multiple large SCSI name descriptors for EVPD=0x83.
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target/target_core_backend.h')
0 files changed, 0 insertions, 0 deletions