axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Premalal (JIRA)" <>
Subject [jira] Resolved: (AXIS2C-396) element free segfaults if attributes reused
Date Sat, 11 Nov 2006 21:22:37 GMT
     [ ]

Dinesh Premalal resolved AXIS2C-396.

    Fix Version/s: Current (Nightly)
       Resolution: Fixed

fixed !

> element free segfaults if attributes reused
> -------------------------------------------
>                 Key: AXIS2C-396
>                 URL:
>             Project: Axis2-C
>          Issue Type: Sub-task
>          Components: xml/om
>    Affects Versions: 0.95
>            Reporter: Dinesh Premalal
>         Assigned To: Dinesh Premalal
>             Fix For: Current (Nightly)
>  If you create a namespace with axiom_attribute_create() and then create two
> sibling elements using axiom_element_create(), passing them both the attribute pointer,
> then both elements add the attribute pointer to their internal attribute hash,
> because neither finds declated it in any of the ancerstor elements.
> Then when you call axiom_node_free_tree(), you get a segfault when axiom_element_free()
> for the second element, because it calls axiom_attribute_free() on a attribute that
> the first element already freed. Both elements treat the attribute as if it was private
> themselves and add it to their internal attribute hashes, and then both try to free it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message