[jira] [Commented] (AXIS2C-1635) Fix for various memleaks & corruptions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (AXIS2C-1635) Fix for various memleaks & corruptions

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/AXIS2C-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668285#comment-13668285 ]

Alex Mantaut commented on AXIS2C-1635:
--------------------------------------

Hi Gilles,
            Thanks for the reply! Again, I vote for someone to commit axis2c-1635.patch and close the issue.

            If you can find a way to consistently reproduce the svc_client issue, you can open a new issue and we'll try to fix it.... (BTW, I think you're right about the svc_client members being interdependant, I think we should identify the shared members and implement some sort of shared pointer to avoid premature freeings)




               

> Fix for various memleaks & corruptions
> --------------------------------------
>
>                 Key: AXIS2C-1635
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1635
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.6.0, Current (Nightly)
>         Environment: FC18 / WinXP
>            Reporter: Gilles Gagniard
>              Labels: patch
>             Fix For: Current (Nightly)
>
>         Attachments: axis2c-1635.patch, axis2c_fixes.patch
>
>
> This issue contains a patch for various memleaks / corruptions in Axis2/C.
> Each proposed fix has an attached comment in the patch describing the issue.
> In particular, it fixes :
> - a crasher introduced with r1467162 : in http_sender.c in_stream could be reused after being freed
> - a crasher sometime happening when freeing a svc_client : in svc_client.c options should be freed last because free callbacks for other members can tap into options (and do, see conf_ctx for instance !)
> - a memleak in the connection_map handling in http_sender.c (key is always strdup()ed but never freed)
> - a crasher in stream handling, happening if the incoming stream length is exactly equal to internal buffer length
> - a memleak in om_element

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]