[Patch] Stack overflow in BlockCallHttpRequest (recursive implementations of 
getServerName())
---------------------------------------------------------------------------------------------

                 Key: COCOON-1957
                 URL: http://issues.apache.org/jira/browse/COCOON-1957
             Project: Cocoon
          Issue Type: Bug
          Components: - Blocks Framework
    Affects Versions: 2.2-dev (Current SVN)
            Reporter: Alexander Klimetschek
            Priority: Critical


The methods BlockCallHttpRequest.getServerName() and getServerPort() are 
implemented purely recursively which leads to a straight stack overflow when 
they are called.

The patch returns an empty string and the port number 80 as long as there is no 
general request information stack in the blocks-fw.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to