You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Holger Grandy (JIRA)" <ji...@apache.org> on 2010/10/14 09:15:32 UTC

[jira] Created: (ETCH-106) C Binding: double-free bug for structs containing structs containing strings

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.2
            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.


[jira] Resolved: (ETCH-106) C Binding: double-free bug for structs containing structs containing strings

Posted by "Holger Grandy (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (ETCH-106) C Binding: double-free bug for structs containing structs containing strings

Posted by "Holger Grandy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ETCH-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Holger Grandy updated ETCH-106:
-------------------------------

    Affects Version/s:     (was: 1.2)
                       1.1
                       1.0.0
                       1.0.1
                       1.0.2

> 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.