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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.14
    • Affects Version/s: 3.3.12
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10
    • 0

      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.

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

              Created:
              Updated:
              Resolved: