Search
j0ke.net Open Build Service
>
Projects
>
ha
:
rebuilds
>
iscsi-initiator-utils
> iscsi-initiator-utils-fix-segment-len-check.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File iscsi-initiator-utils-fix-segment-len-check.patch of Package iscsi-initiator-utils
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;