Use of uninitialized memory in MetadataFactory::free_metadata

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: hotspot
    • b03

        I just realized that the fix for JDK-8298084 still has undefined behavior. The destructor is called and then a member function is called after. This is undefined behavior. The member function should be called before the destructor and the result saved to a variable.

              Assignee:
              Justin King
              Reporter:
              Justin King
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: