Browse Source

Merge branch 'stable-5.5'

* stable-5.5:
  Prepare 5.5.2-SNAPSHOT builds
  JGit v5.5.1.201910021850-r
  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: Iabebdc4786b52ec678caa798975428fda4ad7bd7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
next
Matthias Sohn 5 years ago
parent
commit
8b6d47636a
  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