[Swift-devel] Index out of bounds

Mihael Hategan hategan at mcs.anl.gov
Mon Aug 22 22:37:14 CDT 2011


On Mon, 2011-08-22 at 21:48 -0500, Jonathan Monette wrote:
> Yes as a matter of fact.  The output files of the app that was failing are both 2.6GB.

That was the problem then:

- int read = remoteStream.read(buf, 0, Math.min(buf.length, (int) (total
- crt)));
+  int read = remoteStream.read(buf, 0, (int) Math.min(buf.length, total
- crt));





More information about the Swift-devel mailing list