You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob S. Barrett (JIRA)" <ji...@apache.org> on 2017/06/19 13:45:00 UTC

[jira] [Closed] (GEODE-2713) Function execution can lead to passing the address of a stack variable

     [ https://issues.apache.org/jira/browse/GEODE-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob S. Barrett closed GEODE-2713.
-----------------------------------

> Function execution can lead to passing the address of a stack variable
> ----------------------------------------------------------------------
>
>                 Key: GEODE-2713
>                 URL: https://issues.apache.org/jira/browse/GEODE-2713
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Michael Dodge
>
> In ThinClientRegion::executeFunctionSH(), the address of a stack variable (the result collector lock) is passed to the workers. If an exception occurs with any of the workers, the function will return, causing the stack variable to be destructed. Since the workers have the raw address, it is now a dangling pointer situation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)