Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3159

Log4jMarker.getParents() is not thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.14.1
    • 2.15.0
    • API
    • None

    Description

      Log4jMarker.getParents() re-reads the volatile parents array to load the reference and length, the array reference may be updated between these two loads.

      Attachments

        Issue Links

          Activity

            People

              ckozak Carter Kozak
              ckozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: