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

use-after-free in Node::destruct

    XMLWordPrintable

Details

    • b11

    Backports

      Description

        See the conversion in https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2023-February/062495.html and its related links.

        There is a use-after-free bug in Node::destruct. The storage for Node is passed to `Afree` and then subsequently referenced. Currently none of the methods called happen to allocate, which is good, however this is not guaranteed and could change in the future. The call to `Afree` should be moved to the bottom of the method after calling of other methods.

        Attachments

          Issue Links

            Activity

              People

                jcking Justin King
                jcking Justin King
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: