You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "S.Uthaiyashankar (JIRA)" <ji...@apache.org> on 2008/12/11 07:59:44 UTC
[jira] Created: (AXIS2C-1317) axiom_node_serialize_sub_tree method
crashes when freeing "namespaces" axis2_hash_t
axiom_node_serialize_sub_tree method crashes when freeing "namespaces" axis2_hash_t
-----------------------------------------------------------------------------------
Key: AXIS2C-1317
URL: https://issues.apache.org/jira/browse/AXIS2C-1317
Project: Axis2-C
Issue Type: Bug
Components: util, xml/om
Affects Versions: Current (Nightly)
Environment: N/A
Reporter: S.Uthaiyashankar
Assignee: S.Uthaiyashankar
Fix For: 1.6.0
When a node contains more than one namespace, axiom_node_serialize_sub_tree crashes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AXIS2C-1317) axiom_node_serialize_sub_tree
method crashes when freeing "namespaces" axis2_hash_t
Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655541#action_12655541 ]
S.Uthaiyashankar commented on AXIS2C-1317:
------------------------------------------
In axutil_hash_merge function, array is created and each element is assigned to hash_entry. In the free method, those elements are freed. Since array is created, freeing first element frees all the elements. Hence the crash.
> axiom_node_serialize_sub_tree method crashes when freeing "namespaces" axis2_hash_t
> -----------------------------------------------------------------------------------
>
> Key: AXIS2C-1317
> URL: https://issues.apache.org/jira/browse/AXIS2C-1317
> Project: Axis2-C
> Issue Type: Bug
> Components: util, xml/om
> Affects Versions: Current (Nightly)
> Environment: N/A
> Reporter: S.Uthaiyashankar
> Assignee: S.Uthaiyashankar
> Fix For: 1.6.0
>
>
> When a node contains more than one namespace, axiom_node_serialize_sub_tree crashes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AXIS2C-1317) axiom_node_serialize_sub_tree method
crashes when freeing "namespaces" axis2_hash_t
Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
S.Uthaiyashankar resolved AXIS2C-1317.
--------------------------------------
Resolution: Fixed
Fixed in revision 725599
> axiom_node_serialize_sub_tree method crashes when freeing "namespaces" axis2_hash_t
> -----------------------------------------------------------------------------------
>
> Key: AXIS2C-1317
> URL: https://issues.apache.org/jira/browse/AXIS2C-1317
> Project: Axis2-C
> Issue Type: Bug
> Components: util, xml/om
> Affects Versions: Current (Nightly)
> Environment: N/A
> Reporter: S.Uthaiyashankar
> Assignee: S.Uthaiyashankar
> Fix For: 1.6.0
>
>
> When a node contains more than one namespace, axiom_node_serialize_sub_tree crashes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.