You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Diane Hardman (Jira)" <ji...@apache.org> on 2020/02/29 01:50:00 UTC

[jira] [Updated] (GEODE-5708) Memory corruption in c++ client

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

Diane Hardman updated GEODE-5708:
---------------------------------
    Fix Version/s: 1.9.0

> Memory corruption in c++ client
> -------------------------------
>
>                 Key: GEODE-5708
>                 URL: https://issues.apache.org/jira/browse/GEODE-5708
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Jorge Perez Burgos
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>         Attachments: fix-memory-allocation-d0ff5d7e393f17955f54d3fe0bdf2694c78e9a7e.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When using partition regions there is a double free the ends corrupting the client process. This is caused because instead of assigning shared pointers directly the content of a shared pointer is assign to another shared pointer so the reference count is messed up. I attach a tentative fix/workaround that copies the content although the best option is possibly to create a new or modify a constructor  in VersionedCacheableObjectPartList class.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)