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 "Bill Blough (JIRA)" <ji...@apache.org> on 2019/08/17 17:57:00 UTC

[jira] [Updated] (AXIS2C-1262) Leaking a axiom_soap_envelope_t in axiom_soap_builder_create error path

     [ https://issues.apache.org/jira/browse/AXIS2C-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Blough updated AXIS2C-1262:
--------------------------------
    Labels: patch  (was: )

> Leaking a axiom_soap_envelope_t in axiom_soap_builder_create error path
> -----------------------------------------------------------------------
>
>                 Key: AXIS2C-1262
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1262
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: xml/soap
>    Affects Versions: 1.5.0
>            Reporter: Sebastien Bigot
>            Assignee: Nandika Jayawardana
>            Priority: Major
>              Labels: patch
>             Fix For: 1.7.0
>
>         Attachments: jira-1262.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> We're leaking memory in case we can't decode the soap envelope creating the axiom_soap_builder_t (in this case, wrong soap NS).
> [Wed Sep 10 09:58:33 2008] [error] soap_builder.c(886) AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP
> ==31384== 48 bytes in 1 blocks are definitely lost in loss record 2 of 3
> ==31384==    at 0x4A1A0A7: malloc (vg_replace_malloc.c:207)
> ==31384==    by 0x6746A5: axutil_allocator_malloc_impl (allocator.c:78)
> ==31384==    by 0x65E907: axiom_soap_envelope_create_null (soap_envelope.c:59)
> ==31384==    by 0x66037A: axiom_soap_builder_construct_node (soap_builder.c:546)
> ==31384==    by 0x65FE86: axiom_soap_builder_create_om_element (soap_builder.c:352)
> ==31384==    by 0x65FD8D: axiom_soap_builder_next (soap_builder.c:314)
> ==31384==    by 0x65FC19: axiom_soap_builder_get_soap_envelope (soap_builder.c:242)
> ==31384==    by 0x660C98: axiom_soap_builder_identify_soap_version (soap_builder.c:844)
> ==31384==    by 0x65F9C3: axiom_soap_builder_create (soap_builder.c:140)
> ==31384==    by 0x4A5A82: cmg::axis::CreateSoapBuilder(boost::shared_ptr<axutil_env> const&, boost::shared_ptr<axiom_xml_reader> const&) (Axis.cpp:123)
> ==31384==    by 0x56B0F7: cmg::transport::ConvMapperSoapInterface::decode(CMG_Message&) (ConvMapperSoapInterface.cpp:65)
> ==31384==    by 0x43954A: testNew1ASoapConvMapper() (CMG_Tests1ASoap.cpp:80)
> ==31384==    by 0x439865: Test1ASoap() (CMG_Tests1ASoap.cpp:216)
> ==31384==    by 0x437DA5: Interactive() (CMG_Tests.cpp:362)
> ==31384==    by 0x43847F: main (CMG_Tests.cpp:643)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org