[Swift-devel] Index out of bounds

Mihael Hategan hategan at mcs.anl.gov
Tue Aug 23 01:03:53 CDT 2011


I would say so:
1. There is a reasonable explanation and fix for the problem.
2. It's not occurring any more.

On Mon, 2011-08-22 at 22:40 -0500, Jonathan Monette wrote:
> 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