Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1517

Memory leak in soap_body_disp::axis2_soap_body_disp_find_svc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • core/engine
    • None

    Description

      The method axutil_parse_request_url_for_svc_and_op allocates a two entry axis2_char_t ** array (service and operation).
      The operation part was not freed.

      ==6663== 1 bytes in 1 blocks are definitely lost in loss record 1 of 13
      ==6663== at 0x4024C1C: malloc (vg_replace_malloc.c:195)
      ==6663== by 0x4196D0C: axutil_allocator_malloc_impl (allocator.c:75)
      ==6663== by 0x419A58E: axutil_strdup (string.c:283)
      ==6663== by 0x419D566: axutil_parse_request_url_for_svc_and_op (utils.c:448)
      ==6663== by 0x4201BB5: axis2_soap_body_disp_find_svc (soap_body_disp.c:134)
      ==6663== by 0x4220E83: axis2_msg_ctx_find_svc (msg_ctx.c:2084)
      ==6663== by 0x4201373: axis2_disp_find_svc_and_op (disp.c:156)
      ==6663== by 0x420190E: axis2_soap_body_disp_invoke (soap_body_disp.c:270)
      ==6663== by 0x41F989C: axis2_handler_invoke (handler.c:91)
      ==6663== by 0x41FF488: axis2_phase_invoke (phase.c:230)
      ==6663== by 0x4202BC2: axis2_engine_invoke_phases (engine.c:691)
      ==6663== by 0x4203593: axis2_engine_receive (engine.c:249)

      Attachments

        1. axis2Patch.zip
          0.4 kB
          Alessandro Riva

        Activity

          People

            Unassigned Unassigned
            alexriva68 Alessandro Riva
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: