]> 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 17:31:57 +0000 (10:31 -0700)
commit1459484eea1cb844a9977b6fe49009dd2668c44a
treec5571c10550c16433b41c21945d383d3962b6fdf
parentbda489461f3d0ae38b92ef9a8f8afc82a73945de
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