[jruby-joni] 01/08: Fixes 3538
Hideki Yamane
henrich at moszumanska.debian.org
Fri Dec 25 13:46:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository jruby-joni.
commit cf9171576de0c7f8070b783569e3dc7d1656ef16
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Sun Dec 13 18:43:29 2015 +0100
Fixes 3538
---
src/org/joni/ByteCodeMachine.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/org/joni/ByteCodeMachine.java b/src/org/joni/ByteCodeMachine.java
index d309860..7b21228 100644
--- a/src/org/joni/ByteCodeMachine.java
+++ b/src/org/joni/ByteCodeMachine.java
@@ -1290,8 +1290,9 @@ class ByteCodeMachine extends StackMachine {
s = value;
int len;
- // if (sprev < bytes.length)
- while (sprev + (len = enc.length(bytes, sprev, end)) < s) sprev += len;
+ if (sprev < bytes.length) {
+ while (sprev + (len = enc.length(bytes, sprev, end)) < s) sprev += len;
+ }
}
private void opBackRefMulti() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git
More information about the pkg-java-commits
mailing list