You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Pete Robbins (JIRA)" <tu...@ws.apache.org> on 2006/08/08 15:06:14 UTC

[jira] Closed: (TUSCANY-456) [SDO for C++] Recursive function definition can cause overflow.

     [ 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