Blob Blame History Raw
diff -aurp open-iscsi-2.0-868-test1/usr/io.c open-iscsi-2.0-868-test1.work/usr/io.c
--- open-iscsi-2.0-868-test1/usr/io.c	2008-03-18 17:41:06.000000000 -0500
+++ open-iscsi-2.0-868-test1.work/usr/io.c	2008-03-18 17:41:36.000000000 -0500
@@ -794,7 +794,7 @@ iscsi_io_recv_pdu(iscsi_conn_t *conn, st
 	if (dlength == 0)
 		goto done;
 
-	if (data + dlength >= end) {
+	if (data + dlength > end) {
 		log_warning("buffer size %u too small for data length %u",
 		       max_data_length, dlength);
 		failed = 1;