You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/12/31 02:52:15 UTC

[Bug 61945] New: infinite recursion in Jasper compilation of a recursive JSP tagfile

https://bz.apache.org/bugzilla/show_bug.cgi?id=61945

            Bug ID: 61945
           Summary: infinite recursion in Jasper compilation of a
                    recursive JSP tagfile
           Product: Tomcat 9
           Version: 9.0.2
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: tomcat-dev@matthew.matera.net.au
  Target Milestone: -----

Created attachment 35632
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35632&action=edit
demo WAR that generates StackOverflowError upon invocation of index.jsp

A tagfile that contains recursive invocation of itself cannot be compiled under
Tomcat 9.0.2.   Works OK works OK in 8.5.24.

Sample WAR attached.  Invoking /recursive-taglib/index.jsp causes
java.lang.StackOverflowError.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61945] infinite recursion in Jasper compilation of a recursive JSP tagfile

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61945

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
Thanks for the test case. Although it could need to be further reviewed, I
think a change to what prototype mode did was not right. The fix will be in
9.0.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61945] infinite recursion in Jasper compilation of a recursive JSP tagfile

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61945

Matthew Firth <to...@matthew.matera.net.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
                 CC|                            |tomcat-dev@matthew.matera.n
                   |                            |et.au

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org