]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: fix pr_out length in iscsi_parse_pr_out_transport_id
authorJoern Engel <joern@logfs.org>
Tue, 2 Sep 2014 21:49:59 +0000 (17:49 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 22:17:35 +0000 (15:17 -0700)
commit68edbce4fb4b173d3b9880967cfcce0fc3abc8d5
tree6972d170fe734bff0c8f96f66a49cd45da4b8342
parent1481473b5656d8841f63c455594f340306c22cb0
target: fix pr_out length in iscsi_parse_pr_out_transport_id

Old code in iscsi_parse_pr_out_transport_id() was obviously buggy
and effectively ignored the high byte.

Found by coverity.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_fabric_lib.c