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

Double freeing pointers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • util

    Description

      I believe that most of double freeing of pointer core dump issues can simple by resolved by altering the axutil_allocator_free_impl function

      change

      void AXIS2_CALL
      axutil_allocator_free_impl(
      axutil_allocator_t * allocator,
      void *ptr)
      {
      free(ptr);
      }

      to

      void AXIS2_CALL
      axutil_allocator_free_impl(
      axutil_allocator_t * allocator,
      void *ptr)
      {
      free(ptr);
      ptr = NULL;
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            lmtyler Michael Tyler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: