summaryrefslogtreecommitdiffstats
path: root/lib/kfifo.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-01-05 14:47:17 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2016-01-07 22:57:55 +0100
commitf0a8afecb29ad0005e7e946228a0ef5422058b85 (patch)
treeeaf1eb68b8c884bd70ac40e648488b48e366ba50 /lib/kfifo.c
parenttarget: Support aborting tasks with a 64-bit tag (diff)
downloadlinux-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 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions