gostor / gotgt

Simple Golang iSCSI Target framework
Apache License 2.0
261 stars 49 forks source link

No check for data segment length in DataIn PDUs #50

Closed payes closed 7 years ago

payes commented 7 years ago

Length of data segment in DataIn PDUs has to be limited to MaxRecvDataSegment length and the length of the data transferred in a particular sequence of DataIn PDUs has to be limited to MaxBurstLength. (RFC 3720 Sec. 12.12 and 12.13)

carmark commented 7 years ago

fixed by https://github.com/gostor/gotgt/pull/51