[jruby-joni] 05/31: fix invalid backref
Hideki Yamane
henrich at moszumanska.debian.org
Sat Feb 24 10:44:58 UTC 2018
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 40796a494907814201f42d79ece33d295c5749b8
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Mon Jan 29 22:05:42 2018 +0100
fix invalid backref
---
src/org/joni/Analyser.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/org/joni/Analyser.java b/src/org/joni/Analyser.java
index 1da0c64..467fc46 100644
--- a/src/org/joni/Analyser.java
+++ b/src/org/joni/Analyser.java
@@ -1956,6 +1956,7 @@ final class Analyser extends Parser {
newValueException(ERR_NUMBERED_BACKREF_OR_CALL_NOT_ALLOWED);
}
}
+ if (en.regNum > env.numMem) newValueException(ERR_INVALID_BACKREF);
setupTree(en.target, state);
break;
--
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