|
From: <vl...@us...> - 2014-05-07 02:13:14
|
Revision: 5504
http://sourceforge.net/p/scst/svn/5504
Author: vlnb
Date: 2014-05-07 02:13:11 +0000 (Wed, 07 May 2014)
Log Message:
-----------
Fix COMMAND DATA LENGTH in All_commands parameter data of REPORT SUPPORTED OPERATION CODES
Reported by Sebastian Herbszt <he...@gm...>
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2014-05-06 23:22:32 UTC (rev 5503)
+++ trunk/scst/src/scst_targ.c 2014-05-07 02:13:11 UTC (rev 5504)
@@ -2249,7 +2249,7 @@
switch (options) {
case 0: /* all */
- put_unaligned_be32(buf_len - 3, &buf[0]);
+ put_unaligned_be32(buf_len - 4, &buf[0]);
offs = 4;
for (i = 0; i < supp_opcodes_cnt; i++) {
op = supp_opcodes[i];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|