Check for tab completion sequence length before continuing tab
completion attempts.
The case of a zero length "name" sequence will result in an (if I
remember correctly) StringIndexOutOfBoundsException when starting to
compare the first character of the potential matches. (around line 635,
"char key = contacts.get(0).charAt(index-position-1);")
Fixed by checking sequence length first, before continuing with contact
matching.
Danny
SIOOBE-during-tab-complete.patch (876 Bytes)
Hello Danny,
Thanks for the patch! It is now committed and ack-ed.
ยทยทยท
On Tue, Dec 3, 2013 at 8:09 PM, Danny van Heumen <danny@dannyvanheumen.nl>wrote:
Check for tab completion sequence length before continuing tab
completion attempts.
The case of a zero length "name" sequence will result in an (if I
remember correctly) StringIndexOutOfBoundsException when starting to
compare the first character of the potential matches. (around line 635,
"char key = contacts.get(0).charAt(index-position-1);")
Fixed by checking sequence length first, before continuing with contact
matching.
Danny
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev
--
Regards,
Hristo.