]> git.baikalelectronics.ru Git - kernel.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)
commit7cb542873756e9a91ab5c4e3b9532d769c2b0f40
tree6972d170fe734bff0c8f96f66a49cd45da4b8342
parent286610bab2efd9b3eaaddf56a4556ad7fd5ff3bc
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