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

axutil_hash_copy() issues

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • util
    • None

    Description

      The axutil_hash_copy() function in util/hash.c has several issues:

      • it should be documented that it should be used only read only and not freed with axutil_hash_free() but instead with AXIS2_FREE().
      • the allocated structure is one block, but may not respect alignment rules of the platform.
        In its current state, its usage is discouraged.

      Currently (1.6.0) it is not used in the code base, so that is a minor problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dolmen-oxymel Olivier Mengué
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: