axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Mantaut (JIRA)" <>
Subject [jira] [Commented] (AXIS2C-1635) Fix for various memleaks & corruptions
Date Tue, 28 May 2013 12:54:20 GMT


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

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

View raw message