Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347143

[aix] Fix strdup use in os::dll_load

XMLWordPrintable

    • b06
    • aix

        The use of strdup (which is os::strdup because of context) in aix's os::dll_load is odd. The result is nearly unused (it's passed to strrchr, but the original filename could be used instead), so the duplication doesn't seem needed. And the duplicate is free'd using FREE_C_HEAP_ARRAY, which seems wrong.

              jkern Joachim Kern
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: