Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26160

DistLockManager deferred unlock stores StringData objects which may point to invalid memory

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.14
    • 3.3.12
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10
    • 0

    Description

      The dist lock manager's deferred unlock feature stores StringData objects, which is incorrect, because they do not own their memory.

      Instead these should be std::string.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: