etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Grandy (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ETCH-106) C Binding: double-free bug for structs containing structs containing strings
Date Wed, 27 Oct 2010 14:00:21 GMT

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

Holger Grandy resolved ETCH-106.
--------------------------------

    Resolution: Fixed

resolved by marking cloned objects as "static content" 
--> when destroying cloned object and original: shared content only destroyed once

> C Binding: double-free bug for structs containing structs containing strings
> ----------------------------------------------------------------------------
>
>                 Key: ETCH-106
>                 URL: https://issues.apache.org/jira/browse/ETCH-106
>             Project: Etch
>          Issue Type: Bug
>          Components: c-binding, compiler
>    Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.1
>            Reporter: Holger Grandy
>            Assignee: Holger Grandy
>             Fix For: 1.2
>
>
> double free bug, reason: missing clone  function pointer assignment in new for generated
types, clone function does shallow copy, but does not set content static

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message