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

$rankFusion and $scoreFusion are missing parsing assertions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • ALL
    • 200

      The LiteParsed::parse() functions for both document_source_rank_fusion and document_source_score_fusion are missing uasserts for the BSONElement spec that gets passed, which leads to failing MONGO_verify(isABSONObj()); when passing non-object elements and ultimately crashes the server.

            Assignee:
            mariano.shaar@mongodb.com Mariano Shaar
            Reporter:
            mariano.shaar@mongodb.com Mariano Shaar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: