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

DurableViewCatalogImpl::iterate does not validate database name before calling NamespaceString constructor

    • Fully Compatible
    • ALL
    • 56

      The DurableViewCatalogImpl::iterate function checks whether a view's collection name is valid before attempting to call the NamespaceString constructor to prevent the constructor from uasserting. However, if the view's database name contains null characters, collectionNameIsValid will still be true because the database part of the name is not checked.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: