[ http://issues.apache.org/jira/browse/COCOON-1957?page=all ]
Jörg Heinicke closed COCOON-1957.
---------------------------------
Fix Version/s: 2.2-dev (Current SVN)
Resolution: Fixed
> [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
> Assigned To: Jörg Heinicke
> Priority: Critical
> Fix For: 2.2-dev (Current SVN)
>
> Attachments: cocoon-blockrequest-stack-overflow.patch
>
>
> 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