[infinispan-issues] [JBoss JIRA] (ISPN-3423) Dangling reference in C++ client

Radim Vansa (JIRA) jira-events at lists.jboss.org
Tue Aug 20 03:36:26 EDT 2013


Radim Vansa created ISPN-3423:
---------------------------------

             Summary: Dangling reference in C++ client
                 Key: ISPN-3423
                 URL: https://issues.jboss.org/browse/ISPN-3423
             Project: Infinispan
          Issue Type: Bug
          Components: Remote protocols
            Reporter: Radim Vansa
            Assignee: Galder Zamarreño
            Priority: Minor


I've noticed that {{Configuration::getProtocolVerision()}} produces a dangling reference - the {{std::string}} is autoconstructed on place from the {{const char *}} and then we return a reference to this temporary variable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list