geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2713) Function execution can lead to passing the address of a stack variable
Date Tue, 04 Apr 2017 18:41:41 GMT

    [ https://issues.apache.org/jira/browse/GEODE-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955594#comment-15955594
] 

ASF GitHub Bot commented on GEODE-2713:
---------------------------------------

Github user echobravopapa commented on the issue:

    https://github.com/apache/geode-native/pull/74
  
    @PivotalSarge need to clean up this PR, should not have all of the docs commits included,
TIA


> 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.3.15#6346)

Mime
View raw message