Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
View | Details | Raw Unified | Return to bug 904
Collapse All | Expand All

(-)CDRInputStream.java (+6 lines)
Lines 1256-1261 Link Here
1256
            throw new MARSHAL("invalid string size: " + size);
1256
            throw new MARSHAL("invalid string size: " + size);
1257
        }
1257
        }
1258
1258
1259
        // Some ORBs wrongly encode empty string with a size 0
1260
        if (size == 0)
1261
        {
1262
            return "";
1263
        }
1264
1259
        int start = pos + 4;
1265
        int start = pos + 4;
1260
1266
1261
        index += (size + 4);
1267
        index += (size + 4);

Return to bug 904