diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-01-05 14:47:17 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-01-07 22:57:55 +0100 |
commit | f0a8afecb29ad0005e7e946228a0ef5422058b85 (patch) | |
tree | eaf1eb68b8c884bd70ac40e648488b48e366ba50 /crypto/ablkcipher.c | |
parent | target: Support aborting tasks with a 64-bit tag (diff) | |
download | linux-f0a8afecb29ad0005e7e946228a0ef5422058b85.tar.xz linux-f0a8afecb29ad0005e7e946228a0ef5422058b85.zip |
target: Fix a memory leak in target_dev_lba_map_store()
strsep() modifies its first argument. Make the pointer passed to kfree()
match the return value of kmalloc().
Fixes: 229d4f112fd6 (commit "target_core_alua: Referrals configfs integration")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions