Fam Zheng
1439b9c110
iscsi: Don't blindly use designator length in response for memcpy
...
Per SCSI definition the designator_length we receive from INQUIRY is 8,
12 or at most 16, but we should be careful because the remote iscsi
target may misbehave, otherwise we could have a buffer overflow.
Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-06-29 14:20:56 +02:00
..
2018-06-18 17:04:55 +02:00
2018-06-18 15:03:25 +02:00
2018-05-30 13:31:01 +02:00
2018-06-29 14:20:56 +02:00
2018-05-30 13:31:18 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-18 17:04:57 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-27 13:06:34 +01:00
2018-06-18 17:05:16 +02:00
2018-06-15 14:49:44 +02:00
2018-06-29 14:20:56 +02:00
2018-06-15 14:49:44 +02:00
2018-06-11 16:18:45 +02:00
2018-06-29 14:20:56 +02:00
2018-06-11 16:18:45 +02:00
2018-05-31 04:16:06 +03:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-15 14:49:44 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-05-23 14:30:51 +02:00
2018-06-29 14:20:56 +02:00
2018-06-15 14:49:44 +02:00
2018-06-29 14:20:56 +02:00
2018-05-30 13:31:01 +02:00
2018-06-11 16:18:45 +02:00
2018-05-23 14:30:51 +02:00
2018-06-15 14:49:44 +02:00
2018-05-31 04:16:06 +03:00
2018-05-31 04:16:06 +03:00
2018-06-15 14:49:44 +02:00
2018-06-15 14:49:44 +02:00
2018-06-18 15:03:25 +02:00
2018-06-15 14:49:44 +02:00