[SCSI] libfcoe: fix possible buffer overflow in fcoe_transport_show
authorYi Zou <yi.zou@intel.com>
Fri, 1 Apr 2011 23:06:25 +0000 (16:06 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 15:20:45 +0000 (10:20 -0500)
commita01a5a5789287113cd6bb25c79cf2a826874c918
treef113104d04d3df77041c866942aa304319ec0d72
parent69922fcd534cfc82e2d44374fa219e7c3b27c492
[SCSI] libfcoe: fix possible buffer overflow in fcoe_transport_show

possible buffer overflow in fcoe_transport_show when reaching the end of
buffer and crossing PAGE_SIZE boundary.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe_transport.c