You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Geoff Winn (JIRA)" <tu...@ws.apache.org> on 2006/06/07 19:08:29 UTC
[jira] Created: (TUSCANY-456) [SDO for C++] Recursive function
definition can cause overflow.
[SDO for C++] Recursive function definition can cause overflow.
---------------------------------------------------------------
Key: TUSCANY-456
URL: http://issues.apache.org/jira/browse/TUSCANY-456
Project: Tuscany
Type: Bug
Components: C++ SDO
Versions: Cpp-current
Environment: All platforms
Reporter: Geoff Winn
The substr method in the class SDOString causes a compiler warning
warning C4717: 'commonj::sdo::SDOString::substr' : recursive on all control paths, function will cause runtime stack overflow
This arises because the body should specify that it is calling string::substr rather than itself.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Closed: (TUSCANY-456) [SDO for C++] Recursive function
definition can cause overflow.
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-456?page=all ]
Pete Robbins closed TUSCANY-456.
--------------------------------
Fix Version/s: Cpp-M1
Resolution: Fixed
patch applied
> [SDO for C++] Recursive function definition can cause overflow.
> ---------------------------------------------------------------
>
> Key: TUSCANY-456
> URL: http://issues.apache.org/jira/browse/TUSCANY-456
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
> Fix For: Cpp-M1
>
> Attachments: TUSCANY-456.patch
>
>
> The substr method in the class SDOString causes a compiler warning
> warning C4717: 'commonj::sdo::SDOString::substr' : recursive on all control paths, function will cause runtime stack overflow
> This arises because the body should specify that it is calling string::substr rather than itself.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-456) [SDO for C++] Recursive function
definition can cause overflow.
Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-456?page=all ]
Geoff Winn updated TUSCANY-456:
-------------------------------
Attachment: TUSCANY-456.patch
Built successfuly on Windows XP and Red Hat Enterprise Linux 3
> [SDO for C++] Recursive function definition can cause overflow.
> ---------------------------------------------------------------
>
> Key: TUSCANY-456
> URL: http://issues.apache.org/jira/browse/TUSCANY-456
> Project: Tuscany
> Type: Bug
> Components: C++ SDO
> Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
> Attachments: TUSCANY-456.patch
>
> The substr method in the class SDOString causes a compiler warning
> warning C4717: 'commonj::sdo::SDOString::substr' : recursive on all control paths, function will cause runtime stack overflow
> This arises because the body should specify that it is calling string::substr rather than itself.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org