axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Bigot (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-1262) Leaking a axiom_soap_envelope_t in axiom_soap_builder_create error path
Date Wed, 10 Sep 2008 08:36:45 GMT
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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message