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

Possible NULL dereference in Arena::destruct_contents()

    XMLWordPrintable

Details

    • b14

    Backports

      Description

        Sonarcloud reports a possible access to a NULL C++ object in Arena::destruct_contents():

        ```
        _first->chop();
        ```

        I have found no code path where this could happen but _first could conceivably be NULL after a call to Arena::reset(). Lets fix that.

        Attachments

          Issue Links

            Activity

              People

                stuefe Thomas Stuefe
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: