Browse Source

Merge branch 'stable-5.4' into stable-5.5

* stable-5.4:
  Prepare 5.3.7-SNAPSHOT builds
  JGit v5.3.6.201910020505-r
  Prepare 5.1.13-SNAPSHOT builds
  JGit v5.1.12.201910011832-r
  Do not rely on ArrayIndexOutOfBoundsException to detect end of input

Change-Id: Ia1070fd170651ce827bc6b876c6764a44ffe60eb
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.5
Matthias Sohn 5 years ago
parent
commit
285073d554
  1. 6
      org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java

6
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java

@ -1494,12 +1494,10 @@ public class Config {
} }
int read() { int read() {
try { if (pos >= buf.length) {
return buf[pos++];
} catch (ArrayIndexOutOfBoundsException e) {
pos = buf.length;
return -1; return -1;
} }
return buf[pos++];
} }
void reset() { void reset() {

Loading…
Cancel
Save