cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1957) [Patch] Stack overflow in BlockCallHttpRequest (recursive implementations of getServerName())
Date Mon, 27 Nov 2006 16:59:21 GMT
[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

        

Mime
View raw message