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

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


     [ https://issues.jboss.org/browse/ISPN-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa updated ISPN-3423:
------------------------------

    Assignee: Mircea Markus  (was: Galder Zamarreño)

    
> 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: Mircea Markus
>            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