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

Possible NULL dereference in Arena::destruct_contents()

XMLWordPrintable

    • b14

        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.

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

                Created:
                Updated:
                Resolved: