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

Fix for various memleaks & corruptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • 1.7.0
    • None
    • FC18 / WinXP

    Description

      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

      Attachments

        1. axis2c_fixes.patch
          7 kB
          Gilles Gagniard
        2. axis2c-1635.patch
          11 kB
          Alex Mantaut

        Activity

          People

            Unassigned Unassigned
            gillesgagniard Gilles Gagniard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: