[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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to