You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jörg Heinicke (JIRA)" <ji...@apache.org> on 2006/11/27 19:31:23 UTC
[jira] Assigned: (COCOON-1957) [Patch] Stack overflow in
BlockCallHttpRequest (recursive implementations of getServerName())
[ http://issues.apache.org/jira/browse/COCOON-1957?page=all ]
Jörg Heinicke reassigned COCOON-1957:
-------------------------------------
Assignee: Jörg Heinicke
> [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