classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] RFC: StringIndexOutOfBoundsException fixes inString con


From: Christian Thalinger
Subject: Re: [cp-patches] RFC: StringIndexOutOfBoundsException fixes inString contructors
Date: Wed, 2 Nov 2005 16:40:07 +0100
User-agent: Mutt/1.5.9i

On Wed, Nov 02, 2005 at 10:33:30AM -0500, Anthony Balkissoon wrote:
> Uhm, I think that offset and count probably wouldn't have been checked
> to be non-negative, otherwise why would they check that offset + count <
> 0 ?

That check is for overflow.  But i'll make a patch for jeroen's
suggestion.

TWISTI




reply via email to

[Prev in Thread] Current Thread [Next in Thread]