]> git.karo-electronics.de Git - karo-tx-linux.git/commit
target: fix use after free in target_report_luns
authorJörn Engel <joern@logfs.org>
Wed, 15 Feb 2012 21:51:32 +0000 (16:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:52:47 +0000 (09:52 -0700)
commitf18009c7acc4efa72c6bb36f8be1db8b08582dd9
treed6b577bd7ddbca542f1b0cf68412024349894302
parent9a99a9592a98270e37b08574e2ed17b11ae741c3
target: fix use after free in target_report_luns

commit 382436f8804fe1cb20b9a2a811a10eb2d8554721 upstream.

Fix possible NULL pointer dereference in target_report_luns failure path.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/target_core_device.c