[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Created] (JEXL-131) UnifiedJexl (2.1.x) / Jxlt (3.0) parsing may fail with NPE
From: "Henri Biestro (JIRA)" <jira () apache ! org>
Date: 2012-04-30 21:53:50
Message-ID: 1455531573.11156.1335822830516.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]
Henri Biestro created JEXL-131:
----------------------------------
Summary: UnifiedJexl (2.1.x) / Jxlt (3.0) parsing may fail with NPE
Key: JEXL-131
URL: https://issues.apache.org/jira/browse/JEXL-131
Project: Commons JEXL
Issue Type: Bug
Affects Versions: 2.1
Reporter: Henri Biestro
Assignee: Henri Biestro
Fix For: 2.1.2, 3.0
From Clay Bruce email:
the offending code is the method startsWith which can be found at line 1345 in \
UnifiedJEXL.java. Problem is that sequence is not tested to see if the index is \
available before trying to access it.
A source with lines starting with leading spaces will trigger the bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic