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

Log4jMarker.getParents() is not thread-safe

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment