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

Prevent jstestfuzz overriding DBCommandCursor shell helpers

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • 3
    • 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@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: