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

            Bug ID: 70120
           Summary: Problematic JSP custom tags returned to the tag pool
                    to be reused
           Product: Tomcat 9
           Version: 9.0.115
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Jasper
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: -----

While rendering up a JSP page, if any error occurs that results in a JSP custom
tag instance getting corrupted, that "poisoned" tag doesn't get tossed away
anymore, and instead gets put back into the tag pool for reuse. 
Its reuse now results in blank/half-rendered pages, which only gets resolved by
a Tomcat restart.

This violates the JSP specification that specifies that JSP tags should never
be reused in case of an exception.

The 9.0.114 Tomcat commit that introduced the regression:
https://github.com/apache/tomcat/commit/868d87dae644d21aa957bde5ba25d0d97f51931f
--> Lines 2517+ added the finally block to call reuse tags, even if the tag has
become corrupted. 

This was previously reported and addressed in
https://bz.apache.org/bugzilla/show_bug.cgi?id=60497.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to