Prevent jstestfuzz overriding DBCommandCursor shell helpers

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-03-03
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-85172 introduced a new jstest that overrides the DBCommandCursor.prototype.hasNext helper.

      As the fuzzer generates statements based on the corpus of tests this new addition allowed the fuzzer to override the helper.

      As this method can be essential to the functioning of the test we should prohibit the file from being in the corpus so that the fuzzer doesn't generate dangerous statements.

            Assignee:
            Jordi Olivares Provencio
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: