[Swift-devel] Index out of bounds

Jonathan Monette jonmon at mcs.anl.gov
Mon Aug 22 22:40:11 CDT 2011


Ok.  So then it seems that the issue has been resolved?
On Aug 22, 2011, at 10:37 PM, Mihael Hategan wrote:

> 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