diff options
author | David Disseldorp | 2017-10-19 01:39:20 +0200 |
---|---|---|
committer | Nicholas Bellinger | 2017-11-04 23:00:30 +0100 |
commit | 55435badda8bd8e4c97a8b6c3fa9eef79b02fe44 (patch) | |
tree | 06e5ff31fadadac145ed76e2b69584d510dcd217 /drivers/irqchip | |
parent | target: fix PR state file path truncation (diff) | |
download | kernel-qcow2-linux-55435badda8bd8e4c97a8b6c3fa9eef79b02fe44.tar.gz kernel-qcow2-linux-55435badda8bd8e4c97a8b6c3fa9eef79b02fe44.tar.xz kernel-qcow2-linux-55435badda8bd8e4c97a8b6c3fa9eef79b02fe44.zip |
target: fix ALUA state file path truncation
A sufficiently long Unit Serial string, dbroot path, and/or ALUA target
portal group name may result in truncation of the ALUA state file path
prior to usage. Fix this by using kasprintf() instead.
Fixes: fdddf932269a ("target: use new "dbroot" target attribute")
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions