Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10830

Missing lock in JavaKeyStoreProvider.createCredentialEntry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.6.0
    • security
    • None
    • Reviewed

    Description

      JavaKeyStoreProvider uses ReentrantReadWriteLock to provide thread safety.
      The createCredentialEntry should hold writeLock before adding the entry.

      Attachments

        1. HADOOP-10830.patch
          2 kB
          Benoy Antony
        2. HADOOP-10830.patch
          1 kB
          Benoy Antony

        Issue Links

          Activity

            People

              benoyantony Benoy Antony
              benoyantony Benoy Antony
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: