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

Do not fassert that object returned from InvalidatingLRUCache is valid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.10
    • Component/s: Security
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Security 2019-04-08
    • Linked BF Score:
      7

      Description

      The InvalidatingLRUCache contains valid objects. However, once an object has been returned, it can be invalidated at any point. This means that it is unsafe to fassert that it is valid. In the past, fassert 17003 was evaluated inside of the mutex which excluded invalidation. It should now be either removed, or moved to a place where the condition is maintained.

        Attachments

          Activity

            People

            Assignee:
            jonathan.reams Jonathan Reams
            Reporter:
            spencer.jackson Spencer Jackson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: