]> source.dussan.org Git - jgit.git/commit
Fix IOOBE in Repository.resolveSimple() 64/4164/1
authorDariusz Luksza <dariusz@luksza.org>
Tue, 6 Sep 2011 08:12:39 +0000 (10:12 +0200)
committerDariusz Luksza <dariusz@luksza.org>
Tue, 6 Sep 2011 08:12:39 +0000 (10:12 +0200)
commit570d862ef3874e39a378a0268b120aeb02aa7718
treea5b38171651d6267643a38b76bae1e322907257f
parentb695f66487dfdc5cfe3e3dd22c0253801ecdc9b9
Fix IOOBE in Repository.resolveSimple()

IndexOutOfBoundException is thrown from Repository.resolveSimple() when
'-g' string is located less then 4 characters from the end of this
string.

Change-Id: I1128c2cdfec9db3023d4d0f1f40d863e84b75950
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java